aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-02-14 16:53:16 +0000
committerfanquake <fanquake@gmail.com>2023-02-14 17:02:29 +0000
commitfb2f0934799a4e84b9d89fd58d594435358b4366 (patch)
tree44df722935fed24f041cf995196aa3ef31adf6e6 /src
parentaf49d86dd740b7df7c110231c174b39da4883152 (diff)
parent588fad868dd49b5baca26170c2adca8544fed04b (diff)
downloadbitcoin-fb2f0934799a4e84b9d89fd58d594435358b4366.tar.xz
Merge bitcoin/bitcoin#27097: descriptors: fix docstring (param [in] vs [out])
588fad868dd49b5baca26170c2adca8544fed04b 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 588fad868dd49b5baca26170c2adca8544fed04b Tree-SHA512: 1ab343a1b1fc57a7d6bd8363b84db9d96e8ea11a4cec85bcf79885c9df53da889fe2fb10b1fa92d824ddf0dee800c07353f46f1fea9887d2ad518bed0afebe3d
Diffstat (limited to 'src')
-rw-r--r--src/script/descriptor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/descriptor.h b/src/script/descriptor.h
index cb3b366acf..39b1a37f9a 100644
--- a/src/script/descriptor.h
+++ b/src/script/descriptor.h
@@ -35,7 +35,7 @@ public:
/** Retrieve a cached parent xpub
*
* @param[in] key_exp_pos Position of the key expression within the descriptor
- * @param[in] xpub The CExtPubKey to get from cache
+ * @param[out] xpub The CExtPubKey to get from cache
*/
bool GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;
/** Cache an xpub derived at an index
@@ -49,7 +49,7 @@ public:
*
* @param[in] key_exp_pos Position of the key expression within the descriptor
* @param[in] der_index Derivation index of the xpub
- * @param[in] xpub The CExtPubKey to get from cache
+ * @param[out] xpub The CExtPubKey to get from cache
*/
bool GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const;
/** Cache a last hardened xpub
@@ -61,7 +61,7 @@ public:
/** Retrieve a cached last hardened xpub
*
* @param[in] key_exp_pos Position of the key expression within the descriptor
- * @param[in] xpub The CExtPubKey to get from cache
+ * @param[out] xpub The CExtPubKey to get from cache
*/
bool GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;