jl777 8 years ago
parent
commit
570853bac3
  1. 6
      iguana/iguana_interpreter.c

6
iguana/iguana_interpreter.c

@ -1355,9 +1355,9 @@ int32_t bitcoin_assembler(struct iguana_info *coin,cJSON *logarray,uint8_t scrip
break;
case IGUANA_OP_HASH160:
calc_rmd160_sha256(revrmd160,databuf,datalen);
for (i=0; i<20; i++)
rmd160[i] = revrmd160[19 - i];
iguana_pushdata(stacks,0,rmd160,sizeof(rmd160));
//for (i=0; i<20; i++)
// rmd160[i] = revrmd160[19 - i];
iguana_pushdata(stacks,0,revrmd160,sizeof(rmd160));
break;
case IGUANA_OP_SHA256:
vcalc_sha256(0,hash.bytes,revdata,datalen);

Loading…
Cancel
Save