Fix
This commit is contained in:
@@ -74,9 +74,9 @@ 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; uint160 x; uint8_t hash20[20],*ptr;;
|
vector<unsigned char> hashBytes; uint160 x; int32_t i; uint8_t hash20[20],*ptr;;
|
||||||
x = Hash160(scriptPubKey);
|
x = Hash160(scriptPubKey);
|
||||||
memcp(hash20,&x,20);
|
memcpp(hash20,&x,20);
|
||||||
ptr = hashBytes.data();
|
ptr = hashBytes.data();
|
||||||
hashBytes.resize(20);
|
hashBytes.resize(20);
|
||||||
for (i=0; i<20; i++)
|
for (i=0; i<20; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user