Return hash160
This commit is contained in:
@@ -74,8 +74,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
|
|||||||
if (scriptPubKey.IsPayToCryptoCondition()) {
|
if (scriptPubKey.IsPayToCryptoCondition()) {
|
||||||
if (scriptPubKey.MayAcceptCryptoCondition()) {
|
if (scriptPubKey.MayAcceptCryptoCondition()) {
|
||||||
typeRet = TX_CRYPTOCONDITION;
|
typeRet = TX_CRYPTOCONDITION;
|
||||||
vector<unsigned char> hashBytes(scriptPubKey.begin(), scriptPubKey.end());
|
vSolutionsRet.push_back(Hash160(scriptPubKey));
|
||||||
vSolutionsRet.push_back(hashBytes);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user