From 588fad868dd49b5baca26170c2adca8544fed04b Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 14 Feb 2023 14:28:08 +0000 Subject: [PATCH] descriptors: fix docstring (param [in] vs [out]) As in title, these docstrings look incorrect. --- src/script/descriptor.h | 6 +++--- 1 file 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;