Don't use extra goroutine to rollback account data.
This commit is contained in:
parent
c1c40975ab
commit
47906dc46c
1 changed files with 1 additions and 3 deletions
|
@ -487,9 +487,7 @@ func NtfnBlockDisconnected(n btcjson.Cmd, marshaled []byte) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rollback Utxo and Tx data stores.
|
// Rollback Utxo and Tx data stores.
|
||||||
go func() {
|
|
||||||
accountstore.Rollback(bdn.Height, hash)
|
accountstore.Rollback(bdn.Height, hash)
|
||||||
}()
|
|
||||||
|
|
||||||
// Pass notification to frontends too.
|
// Pass notification to frontends too.
|
||||||
frontendNotificationMaster <- marshaled
|
frontendNotificationMaster <- marshaled
|
||||||
|
|
Loading…
Reference in a new issue