Skip to content

Commit

Permalink
wallet: Fix relevant address handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechampine committed Dec 15, 2023
1 parent e701126 commit 4453d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func AppliedEvents(cs consensus.State, b types.Block, cu ChainUpdate, relevant f
unique := relevant[:0]
for _, addr := range relevant {
if !seen[addr] {
relevant = append(relevant, addr)
unique = append(unique, addr)
seen[addr] = true
}
}
Expand Down

0 comments on commit 4453d86

Please sign in to comment.