Skip to content

Commit

Permalink
Corrected errata. get_balance returns numeric, not string balance
Browse files Browse the repository at this point in the history
This has been an error for far too long. Finally fixed.
  • Loading branch information
cculianu committed Jun 23, 2020
1 parent 09bfe76 commit fa97adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol-methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,15 +461,15 @@ Return the confirmed and unconfirmed balances of a :ref:`script hash
**Result**

A dictionary with keys `confirmed` and `unconfirmed`. The value of
each is the appropriate balance in satoshis as a string.
each is the appropriate balance in satoshis.

**Result Example**

::

{
"confirmed": "103873966",
"unconfirmed": "236844"
"confirmed": 103873966,
"unconfirmed": 236844
}

blockchain.scripthash.get_history
Expand Down

0 comments on commit fa97adf

Please sign in to comment.