Skip to content

Commit

Permalink
Fix fee
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Jul 30, 2020
1 parent d8bf588 commit e8d59a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Wallets/Wallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private Transaction MakeTransaction(StoreView snapshot, byte[] script, Signer[]
public static long CalculateNetworkFee(StoreView snapshot, Transaction tx, ContractState contract, ref int size)
{
// Empty verification scripts and PACK 0 as invocation
size += Array.Empty<byte>().GetVarSize() + IO.Helper.GetVarSize(2);
size += Array.Empty<byte>().GetVarSize() + (IO.Helper.GetVarSize(2) + 2);

// Check verify cost
ContractMethodDescriptor verify = contract.Manifest.Abi.GetMethod("verify");
Expand Down

0 comments on commit e8d59a9

Please sign in to comment.