Skip to content

Commit

Permalink
Fixes output of getbalance (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang authored and shargon committed Aug 29, 2019
1 parent f8105d0 commit 1c91346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RpcWallet/RpcWallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private JObject GetBalance(UInt160 asset_id)
{
CheckWallet();
JObject json = new JObject();
json["balance"] = Wallet.GetAvailable(asset_id).ToString();
json["balance"] = Wallet.GetAvailable(asset_id).Value.ToString();
return json;
}

Expand Down

0 comments on commit 1c91346

Please sign in to comment.