Fix bad error message
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
9eea11662c
commit
3058f280d9
@ -466,7 +466,7 @@ func (vm *VM) ApplyMessage(ctx context.Context, cmsg types.ChainMsg) (*ApplyRet,
|
||||
// burn overallocated gas
|
||||
burn := types.BigMul(types.NewInt(uint64(gasToBurn)), msg.GasPrice)
|
||||
if err := vm.transferFromGasHolder(builtin.BurntFundsActorAddr, gasHolder, burn); err != nil {
|
||||
return nil, xerrors.Errorf("failed to refund gas")
|
||||
return nil, xerrors.Errorf("failed to burn over estimated gas")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user