feat(transaction): #112 allow negative value without treasurechest for rebalancing #113

Merged
tim merged 2 commits from 112-allow-empty-account-for-rebalancing into prod 2025-05-19 11:23:23 +00:00
Showing only changes of commit 2e9d1e4a8d - Show all commits
+1 -3
View File
@@ -551,9 +551,7 @@ func updateErrors(transaction *types.Transaction) {
error := ""
if transaction.Value < 0 {
if transaction.AccountId == nil {
error = "no account specified"
} else if transaction.TreasureChestId == nil {
if transaction.TreasureChestId == nil {
error = "no treasure chest specified"
}
} else if transaction.Value > 0 {