message: extend bip32 tests to cover Base58c/CExtKey decode
  coming from btc@8d2af54eccda83bfe86bb14069ad54d0e4ba357c
diff: @@ -91,9 +91,19 @@ void RunTest(const TestVector &test) {
  // Test private key
  CBitcoinExtKey b58key; b58key.SetKey(key);
  BOOST_CHECK(b58key.ToString() == derive.prv);
  +
  + CBitcoinExtKey b58keyDecodeCheck(derive.prv);
  + CExtKey checkKey = b58keyDecodeCheck.GetKey();
  + assert(checkKey == key); //ensure a base58 decoded key also matches
  +
  // Test public key
  CBitcoinExtPubKey b58pubkey; b58pubkey.SetKey(pubkey);
  BOOST_CHECK(b58pubkey.ToString() == derive.pub);
  +
  + CBitcoinExtPubKey b58PubkeyDecodeCheck(derive.pub);
  + CExtPubKey checkPubKey = b58PubkeyDecodeCheck.GetKey();
  + assert(checkPubKey == pubkey); //ensure a base58 decoded pubkey also matches
  +
  // Derive new keys
  CExtKey keyNew;
  BOOST_CHECK(key.Derive(keyNew, derive.nChild));
  