This commit is contained in:
jl777
2018-07-21 03:13:16 -11:00
parent 296f5ed8ff
commit b7168865a9

View File

@@ -76,7 +76,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
typeRet = TX_CRYPTOCONDITION;
vector<unsigned char> hashBytes; uint160 x; int32_t i; uint8_t hash20[20],*ptr;;
x = Hash160(scriptPubKey);
memcpp(hash20,&x,20);
memcpy(hash20,&x,20);
ptr = hashBytes.data();
hashBytes.resize(20);
for (i=0; i<20; i++)