Validate getTxAddresses return
This commit is contained in:
parent
24bedfec26
commit
ffa745d390
@ -1049,9 +1049,13 @@ func (d *RocksDB) disconnectTxAddresses(wb *gorocksdb.WriteBatch, height uint32,
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
txAddressesToUpdate[s] = sa
|
||||
if sa != nil {
|
||||
txAddressesToUpdate[s] = sa
|
||||
}
|
||||
}
|
||||
if sa != nil {
|
||||
sa.Outputs[inputs[i].index].Spent = false
|
||||
}
|
||||
sa.Outputs[inputs[i].index].Spent = false
|
||||
}
|
||||
}
|
||||
for _, t := range txa.Outputs {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user