Skip to content

Commit

Permalink
Merge pull request #820 from lochjin/dev2.0
Browse files Browse the repository at this point in the history
bug:nil pointer about AcctUTXO
  • Loading branch information
dindinw authored Oct 29, 2024
2 parents 8670c06 + ee5a87d commit 59adbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/acct/acctmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (a *AccountManager) DelWatcherOP(addr string, op *types.TxOutPoint, au *Acc
if wb.Has(opk) {
wb.Del(opk)
} else {
if au.IsFinal() {
if au != nil && au.IsFinal() {
if au.IsCoinbase() || au.IsCLTV() {
wb.Drop(au)
}
Expand Down

0 comments on commit 59adbad

Please sign in to comment.