Skip to content

Commit

Permalink
bug:nil pointer about AcctUTXO
Browse files Browse the repository at this point in the history
  • Loading branch information
lochjin committed Oct 29, 2024
1 parent 1423945 commit ee5a87d
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 ee5a87d

Please sign in to comment.