wip
This commit is contained in:
@@ -514,15 +514,16 @@ func (s TransactionImpl) validateAndEnrichTransaction(ctx context.Context, tx *s
|
||||
|
||||
// There are the following constallations and their explanation:
|
||||
//
|
||||
// Account | TreasureChest | Value | Description
|
||||
// Y | Y | + | Invalid
|
||||
// Y | Y | - | Bought a good
|
||||
// Y | N | + | Income
|
||||
// Y | N | - | For moving money between accounts
|
||||
// N | Y | + | Saving
|
||||
// N | Y | - | For moving money between treasure chests
|
||||
// N | N | + | Invalid
|
||||
// N | N | - | Invalid
|
||||
// Account | TreasureChest | Value | Description
|
||||
// --------|---------------|-------|----------------
|
||||
// Y | Y | + | Invalid
|
||||
// Y | Y | - | Bought a good
|
||||
// Y | N | + | Income
|
||||
// Y | N | - | For moving money between accounts
|
||||
// N | Y | + | Saving
|
||||
// N | Y | - | For moving money between treasure chests
|
||||
// N | N | + | Invalid
|
||||
// N | N | - | Invalid
|
||||
func (s TransactionImpl) updateErrors(t *types.Transaction) {
|
||||
errorStr := ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user