Browse Source

Fix

pull/4/head
jl777 6 years ago
parent
commit
296f5ed8ff
  1. 4
      src/script/standard.cpp

4
src/script/standard.cpp

@ -74,9 +74,9 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
if (scriptPubKey.IsPayToCryptoCondition()) {
if (scriptPubKey.MayAcceptCryptoCondition()) {
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);
memcp(hash20,&x,20);
memcpp(hash20,&x,20);
ptr = hashBytes.data();
hashBytes.resize(20);
for (i=0; i<20; i++)

Loading…
Cancel
Save