diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-07-10 16:38:12 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-04-23 13:59:48 -0400 |
commit | 58c7651821b0eeff0a99dc61d78d2e9e07986580 (patch) | |
tree | 623281d3496a9da9009b2bc796f29b36c82966c5 /src/pubkey.h | |
parent | e014886a342508f7c8d80323eee9a5f314eaf94c (diff) |
Implement TopUp in DescriptorScriptPubKeyMan
Diffstat (limited to 'src/pubkey.h')
-rw-r--r-- | src/pubkey.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pubkey.h b/src/pubkey.h index 2fc92c9bc6..261842b7f7 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -219,6 +219,11 @@ struct CExtPubKey { a.pubkey == b.pubkey; } + friend bool operator!=(const CExtPubKey &a, const CExtPubKey &b) + { + return !(a == b); + } + void Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const; void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]); bool Derive(CExtPubKey& out, unsigned int nChild) const; |