diff --git a/src/neo/Wallets/Wallet.cs b/src/neo/Wallets/Wallet.cs index 93f6fd6e92..6f685433d4 100644 --- a/src/neo/Wallets/Wallet.cs +++ b/src/neo/Wallets/Wallet.cs @@ -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().GetVarSize() + IO.Helper.GetVarSize(2); + size += Array.Empty().GetVarSize() + (IO.Helper.GetVarSize(2) + 2); // Check verify cost ContractMethodDescriptor verify = contract.Manifest.Abi.GetMethod("verify");