fix method: VM.send
This commit is contained in:
parent
855b1fdd6e
commit
f99c11e048
@ -385,7 +385,9 @@ func (vm *VM) send(ctx context.Context, msg *types.Message, parent *VMContext,
|
||||
|
||||
if msg.Method != 0 {
|
||||
ret, err := vm.Invoke(toActor, vmctx, msg.Method, msg.Params)
|
||||
toActor.Head = vmctx.Storage().GetHead()
|
||||
if !aerrors.IsFatal(err) {
|
||||
toActor.Head = vmctx.Storage().GetHead()
|
||||
}
|
||||
return ret, err, vmctx
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user