Skip to content

Commit

Permalink
remove GasFree
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud8little committed Jul 9, 2020
1 parent 1a53c5c commit 6224152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RpcClient/TransactionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public TransactionManager MakeTransaction(byte[] script, TransactionAttribute[]
// Add witness hashes parameter to pass CheckWitness
UInt160[] hashes = Tx.GetScriptHashesForVerifying(null);
RpcInvokeResult result = rpcClient.InvokeScript(script, hashes);
Tx.SystemFee = Math.Max(long.Parse(result.GasConsumed) - ApplicationEngine.GasFree, 0);
Tx.SystemFee = long.Parse(result.GasConsumed);
context = new ContractParametersContext(Tx);
signStore = new List<SignItem>();

Expand Down

0 comments on commit 6224152

Please sign in to comment.