Skip to content

Commit

Permalink
wallet: Fix copy-paste bug in Annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechampine committed Aug 28, 2023
1 parent 271d158 commit 551fa23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ func Annotate(txn types.Transaction, ownsAddress func(types.Address) bool) PoolT
}
switch {
case ownedOut == 0:
ins = "none"
outs = "none"
case ownedOut < len(txn.SiacoinOutputs):
ins = "some"
outs = "some"
case ownedOut == len(txn.SiacoinOutputs):
ins = "all"
outs = "all"
}

switch {
Expand Down

0 comments on commit 551fa23

Please sign in to comment.