Skip to content

Commit

Permalink
Fixes output of getbalance (neo-project#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang authored and 陈志同 committed Oct 13, 2020
1 parent 67178bd commit fd15851
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 fd15851

Please sign in to comment.