Fix CBitcoinAddress::GetKeyID logic 365/head 379/head
authorsvost <svost@users.noreply.github.com>
Fri, 4 Aug 2017 07:50:02 +0000 (10:50 +0300)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2017 07:50:02 +0000 (10:50 +0300)
src/base58.cpp

index 29591b3..da2f197 100644 (file)
@@ -352,6 +352,7 @@ bool DecodeBase58Check(const std::string& str, std::vector<unsigned char>& vchRe
             CMalleablePubKey mPubKey;
             mPubKey.setvch(vchData);
             keyID = mPubKey.GetID();
+            return true;
         }
         default: return false;
         }