diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2019-10-22 00:07:31 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2019-10-22 00:07:31 +0200 |
commit | 5b44a75493a1a098404d5e21dc384e74eae1892e (patch) | |
tree | fc4d1b067682421a53f105b3377879805713a7dd /src/test/bip32_tests.cpp | |
parent | a22b62481aae95747830bd3c0db3227860b12d8e (diff) |
refactor: Remove unused CExt{Pub,}Key (de)serialization methods
The serialization/deserialization methods for the classes CExtKey and
CExtPubKey were only used in the BIP32 unit tests, where the relevant parts are
removed as well.
Diffstat (limited to 'src/test/bip32_tests.cpp')
-rw-r--r-- | src/test/bip32_tests.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/bip32_tests.cpp b/src/test/bip32_tests.cpp index 660df00964..e46cf624cf 100644 --- a/src/test/bip32_tests.cpp +++ b/src/test/bip32_tests.cpp @@ -118,22 +118,6 @@ static void RunTest(const TestVector &test) { } key = keyNew; pubkey = pubkeyNew; - - CDataStream ssPub(SER_DISK, CLIENT_VERSION); - ssPub << pubkeyNew; - BOOST_CHECK(ssPub.size() == 75); - - CDataStream ssPriv(SER_DISK, CLIENT_VERSION); - ssPriv << keyNew; - BOOST_CHECK(ssPriv.size() == 75); - - CExtPubKey pubCheck; - CExtKey privCheck; - ssPub >> pubCheck; - ssPriv >> privCheck; - - BOOST_CHECK(pubCheck == pubkeyNew); - BOOST_CHECK(privCheck == keyNew); } } |