Fix CBitcoinAddress::GetKeyID logic 368/head
authorsvost <svost@users.noreply.github.com>
Fri, 4 Aug 2017 07:57:01 +0000 (10:57 +0300)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2017 07:57:01 +0000 (10:57 +0300)
Fix gcc 7.0 warning (Wimplicit-fallthrough)

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;
         }