From 57c06d2981c8191d52a4f41e7372bd3da3f7c827 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Sep 2016 19:59:29 -0300 Subject: [PATCH] test --- iguana/iguana_interpreter.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iguana/iguana_interpreter.c b/iguana/iguana_interpreter.c index c0171f491..73cfa7d20 100755 --- a/iguana/iguana_interpreter.c +++ b/iguana/iguana_interpreter.c @@ -1351,6 +1351,12 @@ 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]; + printf("%02x",revrmd160[i]); + } + printf(" <- rev OP_HASH160\n"); iguana_pushdata(stacks,0,revrmd160,sizeof(rmd160)); break; case IGUANA_OP_SHA256: