Skip to content

Commit 0c58069

Browse files
authored
fix CalculateNetworkFee (#906)
* fix CalculateNetworkFee * fix in another way * format
1 parent 28f2d35 commit 0c58069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RpcServer/RpcServer.Wallet.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected virtual JToken CalculateNetworkFee(JArray _params)
130130
JObject account = new();
131131
var networkfee = Wallets.Helper.CalculateNetworkFee(
132132
tx.AsSerializable<Transaction>(), system.StoreView, system.Settings,
133-
wallet is not null ? a => wallet.GetAccount(a).Contract.Script : null);
133+
wallet is not null ? a => wallet.GetAccount(a).Contract.Script : _ => null);
134134
account["networkfee"] = networkfee.ToString();
135135
return account;
136136
}

0 commit comments

Comments
 (0)