Merge pull request #1401 from filecoin-project/fix/nonce-miss-no-gas

Missmatching nonce does not charge gas
This commit is contained in:
Whyrusleeping 2020-03-20 14:56:33 -07:00 committed by GitHub
commit a3fd1d4b51

View File

@ -318,7 +318,7 @@ func (vm *VM) ApplyMessage(ctx context.Context, msg *types.Message) (*ApplyRet,
return &ApplyRet{
MessageReceipt: types.MessageReceipt{
ExitCode: exitcode.SysErrInvalidCallSeqNum,
GasUsed: msg.GasLimit,
GasUsed: 0,
},
}, nil
}