Skip to content

Commit 3d1e23f

Browse files
committed
docs: improve docs for bip32_key_to_addr_segwit()
1 parent 23d8187 commit 3d1e23f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: include/wally_address.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ WALLY_CORE_API int wally_bip32_key_to_addr_segwit(
263263
* Create a P2PKH address corresponding to a private key in Wallet Import Format.
264264
*
265265
* :param wif: Private key in Wallet Import Format.
266-
* :param prefix: Prefix byte to use, e.g. 0x80, 0xef.
266+
* :param prefix: Expected prefix byte, e.g. `WALLY_ADDRESS_VERSION_WIF_MAINNET`
267+
*| or `WALLY_ADDRESS_VERSION_WIF_TESTNET`.
267268
* :param version: Address version to generate. One of the :ref:`address-versions`.
268269
* :param output: Destination for the resulting address string.
269270
*| The string returned should be freed using `wally_free_string`.

0 commit comments

Comments
 (0)