From: svost Date: Fri, 4 Aug 2017 07:57:01 +0000 (+0300) Subject: Fix CBitcoinAddress::GetKeyID logic X-Git-Tag: nvc-v0.5.9~145^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=refs%2Fpull%2F368%2Fhead Fix CBitcoinAddress::GetKeyID logic Fix gcc 7.0 warning (Wimplicit-fallthrough) --- diff --git a/src/base58.cpp b/src/base58.cpp index 1c26380..dc813ab 100644 --- a/src/base58.cpp +++ b/src/base58.cpp @@ -352,6 +352,7 @@ bool DecodeBase58Check(const std::string& str, std::vector& vchRe CMalleablePubKey mPubKey; mPubKey.setvch(vchData); keyID = mPubKey.GetID(); + return true; } default: return false; }