diff options
author | SomberNight <somber.night@protonmail.com> | 2023-02-14 14:28:08 +0000 |
---|---|---|
committer | SomberNight <somber.night@protonmail.com> | 2023-02-14 14:28:08 +0000 |
commit | 588fad868dd49b5baca26170c2adca8544fed04b (patch) | |
tree | a95a3ce4c9eb7298ba669d6840b1d07b362a38c6 /src/script | |
parent | d6ef44cccbdf3fede8f14ad136ba1cc574b41f9d (diff) | |
download | bitcoin-588fad868dd49b5baca26170c2adca8544fed04b.tar.xz |
descriptors: fix docstring (param [in] vs [out])
As in title, these docstrings look incorrect.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/descriptor.h | 6 |
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; |