Fix CBitcoinAddress::GetKeyID logic
[novacoin.git] / src / base58.cpp
index 1c26380..dc813ab 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;
         }