Skip to content

Commit fb2f093

Browse files
committed
Merge bitcoin/bitcoin#27097: descriptors: fix docstring (param [in] vs [out])
588fad8 descriptors: fix docstring (param [in] vs [out]) (SomberNight) Pull request description: As in title, these docstrings look incorrect. ACKs for top commit: john-moffett: ACK 588fad8 Tree-SHA512: 1ab343a1b1fc57a7d6bd8363b84db9d96e8ea11a4cec85bcf79885c9df53da889fe2fb10b1fa92d824ddf0dee800c07353f46f1fea9887d2ad518bed0afebe3d
2 parents af49d86 + 588fad8 commit fb2f093

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/script/descriptor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DescriptorCache {
3535
/** Retrieve a cached parent xpub
3636
*
3737
* @param[in] key_exp_pos Position of the key expression within the descriptor
38-
* @param[in] xpub The CExtPubKey to get from cache
38+
* @param[out] xpub The CExtPubKey to get from cache
3939
*/
4040
bool GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;
4141
/** Cache an xpub derived at an index
@@ -49,7 +49,7 @@ class DescriptorCache {
4949
*
5050
* @param[in] key_exp_pos Position of the key expression within the descriptor
5151
* @param[in] der_index Derivation index of the xpub
52-
* @param[in] xpub The CExtPubKey to get from cache
52+
* @param[out] xpub The CExtPubKey to get from cache
5353
*/
5454
bool GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const;
5555
/** Cache a last hardened xpub
@@ -61,7 +61,7 @@ class DescriptorCache {
6161
/** Retrieve a cached last hardened xpub
6262
*
6363
* @param[in] key_exp_pos Position of the key expression within the descriptor
64-
* @param[in] xpub The CExtPubKey to get from cache
64+
* @param[out] xpub The CExtPubKey to get from cache
6565
*/
6666
bool GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;
6767

0 commit comments

Comments
 (0)