Litecoin: Multisig CScript -> ScriptHash

pull/751/head
Adrian Gallagher 4 years ago
parent e16dd76732
commit 09e4e7254f
No known key found for this signature in database
GPG Key ID: FE3348877809386C

@ -94,7 +94,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par
const std::vector<unsigned char>& 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();

Loading…
Cancel
Save