Return hash160

This commit is contained in:
jl777
2018-07-21 03:06:49 -11:00
parent e0509cb521
commit 8506f4cc0f

View File

@@ -74,8 +74,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
if (scriptPubKey.IsPayToCryptoCondition()) {
if (scriptPubKey.MayAcceptCryptoCondition()) {
typeRet = TX_CRYPTOCONDITION;
vector<unsigned char> hashBytes(scriptPubKey.begin(), scriptPubKey.end());
vSolutionsRet.push_back(hashBytes);
vSolutionsRet.push_back(Hash160(scriptPubKey));
return true;
}
return false;