fix blocksync reactor import of state store

This commit is contained in:
Callum Waters
2022-11-15 14:34:43 +01:00
committed by Sergio Mena
parent 173cfe8cb5
commit c0e60263b6

View File

@@ -185,7 +185,7 @@ func (bcR *Reactor) respondToPeer(msg *bcproto.BlockRequest,
})
}
state, err := bcR.stateStore.Load()
state, err := bcR.blockExec.Store().Load()
if err != nil {
bcR.Logger.Error("loading state", "err", err)
return false