use supplied tipset when looking up actor state
This commit is contained in:
parent
30ec4e7524
commit
61d027db2a
@ -277,7 +277,7 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset map[uint6
|
|||||||
// cannot exceed the block limit; drop all messages that exceed the limit
|
// cannot exceed the block limit; drop all messages that exceed the limit
|
||||||
// - the total gasReward cannot exceed the actor's balance; drop all messages that exceed
|
// - the total gasReward cannot exceed the actor's balance; drop all messages that exceed
|
||||||
// the balance
|
// the balance
|
||||||
a, _ := mp.api.StateGetActor(actor, nil)
|
a, _ := mp.api.StateGetActor(actor, ts)
|
||||||
curNonce := a.Nonce
|
curNonce := a.Nonce
|
||||||
balance := a.Balance.Int
|
balance := a.Balance.Int
|
||||||
gasLimit := int64(0)
|
gasLimit := int64(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user