Skip to content

Commit

Permalink
main: Fix txns display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechampine committed Dec 1, 2023
1 parent c29bcb7 commit d7f8b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/walletd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func printTestnetEvents(seed wallet.Seed, events []wallet.Event) {
for _, e := range events {
switch t := e.Val.(type) {
case *wallet.EventTransaction:
if len(t.SiafundInputs) == 0 || len(t.SiacoinOutputs) == 0 {
if len(t.SiacoinInputs) == 0 || len(t.SiacoinOutputs) == 0 {
continue
}
sco := t.SiacoinOutputs[0].SiacoinOutput
Expand Down

0 comments on commit d7f8b5a

Please sign in to comment.