Skip to content

Commit

Permalink
Fix: Make blockchain.utxo.get_info use snake_case
Browse files Browse the repository at this point in the history
The params were being listed in a weird way.

- fixed: prevoutHash -> tx_hash
- fixed: prevoutN -> out_n
  • Loading branch information
cculianu committed Jun 23, 2020
1 parent 4435f3b commit 5f7d78a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions protocol-methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -933,17 +933,17 @@ Return information for an unspent transaction output.

**Signature**

.. function:: blockchain.utxo.get_info(prevoutHash, prevoutN)
.. function:: blockchain.utxo.get_info(tx_hash, out_n)
.. versionadded:: 1.4.4

*prevoutHash*
*tx_hash*

The UTXO's transaction hash as a hexadecimal string.

*prevoutN*
*out_n*

The UTXO's transaction output number. This should be a number in the range
0 <= prevoutN <= 65535
0 <= out_n <= 65535

**Result**

Expand Down

0 comments on commit 5f7d78a

Please sign in to comment.