rpc/client: no longer add UTXO GAS for fees

It's already being paid with NEP5 GAS.
This commit is contained in:
Roman Khimov 2020-05-28 23:04:29 +03:00
parent 670396b908
commit 9a4e53b58e
2 changed files with 0 additions and 14 deletions

View file

@ -515,14 +515,6 @@ func (c *Client) SignAndPushInvocationTx(script []byte, acc *wallet.Account, sys
}
tx.Sender = addr
gas := sysfee + netfee
if gas > 0 {
if err = request.AddInputsAndUnspentsToTx(tx, acc.Address, core.UtilityTokenID(), gas, c); err != nil {
return txHash, errors.Wrap(err, "failed to add inputs and unspents to transaction")
}
}
err = c.AddNetworkFee(tx, acc)
if err != nil {
return txHash, errors.Wrapf(err, "failed to add network fee")