Don't use extra goroutine to rollback account data.

This commit is contained in:
Josh Rickmar 2014-01-28 16:11:59 -05:00
parent c1c40975ab
commit 47906dc46c

View file

@ -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