jl777 8 years ago
parent
commit
647aa1f3bf
  1. 4
      iguana/iguana_interpreter.c

4
iguana/iguana_interpreter.c

@ -1340,8 +1340,8 @@ int32_t bitcoin_assembler(struct iguana_info *coin,cJSON *logarray,uint8_t scrip
uint8_t rmd160[20],revdata[0x100]; bits256 hash;
if ( (datalen= iguana_databuf(databuf,args[0])) <= sizeof(revdata) )
{
//for (i=0; i<datalen; i++)
// revdata[i] = databuf[i];
for (i=0; i<datalen; i++)
revdata[i] = databuf[datalen - 1 - i];
} else printf("datalen.%d too big for %d\n",datalen,(int32_t)sizeof(revdata));
switch ( op->opcode )
{

Loading…
Cancel
Save