X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbase58.cpp;h=dc813abafa9d617cc37f001469841b59fff14f18;hb=5a7a2125b6b4ed7d3ea55f333d0cf2345bd1d916;hp=2691ea4d6f999d8d47533443437f0aaf67a93076;hpb=62b3df9c02e86432aa73f8b475900946bb348816;p=novacoin.git diff --git a/src/base58.cpp b/src/base58.cpp index 2691ea4..dc813ab 100644 --- a/src/base58.cpp +++ b/src/base58.cpp @@ -254,6 +254,13 @@ bool DecodeBase58Check(const std::string& str, std::vector& vchRe return true; } + bool CBitcoinAddress::Set(const CBitcoinAddress &dest) + { + nVersion = dest.nVersion; + vchData = dest.vchData; + return true; + } + bool CBitcoinAddress::IsValid() const { unsigned int nExpectedSize = 20; @@ -345,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; }