From 09e4e7254f989332541ebe965c6794f32cbbb3a1 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 3 Jun 2020 21:41:31 -0700 Subject: [PATCH] Litecoin: Multisig CScript -> ScriptHash --- src/key_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key_io.cpp b/src/key_io.cpp index 56129699fc..007e895577 100644 --- a/src/key_io.cpp +++ b/src/key_io.cpp @@ -94,7 +94,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par const std::vector& script_prefix2 = params.Base58Prefix(CChainParams::SCRIPT_ADDRESS2); if (data.size() == hash.size() + script_prefix2.size() && std::equal(script_prefix2.begin(), script_prefix2.end(), data.begin())) { std::copy(data.begin() + script_prefix2.size(), data.end(), hash.begin()); - return CScriptID(hash); + return ScriptHash(hash); } } data.clear();