slightly better than panicking
This commit is contained in:
parent
cf3298cd04
commit
05d65c3f88
@ -606,7 +606,8 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset map[uint6
|
|||||||
// the balance
|
// the balance
|
||||||
a, err := mp.api.StateGetActor(actor, ts)
|
a, err := mp.api.StateGetActor(actor, ts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err) // TODO
|
log.Errorf("failed to load actor state, not building chain for %s: %w", actor, err)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
curNonce := a.Nonce
|
curNonce := a.Nonce
|
||||||
|
Loading…
Reference in New Issue
Block a user