diff --git a/service/transaction.go b/service/transaction.go index b90a957..cf628c2 100644 --- a/service/transaction.go +++ b/service/transaction.go @@ -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 {