diff options
| author | Jonas Schnelli <[email protected]> | 2015-06-01 16:35:19 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-04-14 20:56:33 +0200 |
| commit | 90604f16af63ec066d6561337f476ccd8acec326 (patch) | |
| tree | 5cca6f0af2f22330bbf7d7a913b3e10cbcafe868 /src/base58.h | |
| parent | Merge #7874: Improve AlreadyHave (diff) | |
| download | discoin-90604f16af63ec066d6561337f476ccd8acec326.tar.xz discoin-90604f16af63ec066d6561337f476ccd8acec326.zip | |
add bip32 pubkey serialization
CExtPubKey should be serializable like CPubKey
Diffstat (limited to 'src/base58.h')
| -rw-r--r-- | src/base58.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base58.h b/src/base58.h index a3980118a..cccebc9e0 100644 --- a/src/base58.h +++ b/src/base58.h @@ -164,7 +164,7 @@ public: CBitcoinExtKeyBase() {} }; -typedef CBitcoinExtKeyBase<CExtKey, 74, CChainParams::EXT_SECRET_KEY> CBitcoinExtKey; -typedef CBitcoinExtKeyBase<CExtPubKey, 74, CChainParams::EXT_PUBLIC_KEY> CBitcoinExtPubKey; +typedef CBitcoinExtKeyBase<CExtKey, BIP32_EXTKEY_SIZE, CChainParams::EXT_SECRET_KEY> CBitcoinExtKey; +typedef CBitcoinExtKeyBase<CExtPubKey, BIP32_EXTKEY_SIZE, CChainParams::EXT_PUBLIC_KEY> CBitcoinExtPubKey; #endif // BITCOIN_BASE58_H |