diff --git a/pkg/core/native/native_nep17.go b/pkg/core/native/native_nep17.go index ca5a5bc7d..0f88df1ad 100644 --- a/pkg/core/native/native_nep17.go +++ b/pkg/core/native/native_nep17.go @@ -262,7 +262,9 @@ func (c *nep17TokenNative) burn(ic *interop.Context, h util.Uint160, amount *big if amount.Sign() == 0 { return } - c.addTokens(ic, h, new(big.Int).Neg(amount)) + amount.Neg(amount) + c.addTokens(ic, h, amount) + amount.Neg(amount) c.postTransfer(ic, &h, nil, amount, stackitem.Null{}, false) }