From 664966a967514557036b5c48949a1eab668a3537 Mon Sep 17 00:00:00 2001 From: svost Date: Fri, 4 Aug 2017 10:57:01 +0300 Subject: [PATCH] Fix CBitcoinAddress::GetKeyID logic Fix gcc 7.0 warning (Wimplicit-fallthrough) --- src/base58.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; } -- 1.7.1