From a6e1601961b83ff6978583e435cab882ad777006 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Sep 2016 19:04:08 -0300 Subject: [PATCH] test --- basilisk/basilisk_swap.c | 2 +- iguana/iguana_interpreter.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index a6c60716b..aace70fd3 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -331,7 +331,7 @@ int32_t basilisk_swapuserdata(uint8_t *userdata,int32_t pushpriv,bits256 privkey { userdata[len++] = sizeof(privkey); for (i=0; i if path, 0 -> else path return(len); diff --git a/iguana/iguana_interpreter.c b/iguana/iguana_interpreter.c index 40372ca0d..002ba5afe 100755 --- a/iguana/iguana_interpreter.c +++ b/iguana/iguana_interpreter.c @@ -1338,10 +1338,10 @@ int32_t bitcoin_assembler(struct iguana_info *coin,cJSON *logarray,uint8_t scrip else if ( (op->flags & IGUANA_CRYPTOFLAG) != 0 ) { uint8_t rmd160[20],revdata[0x100]; bits256 hash; - if ( (datalen= iguana_databuf(databuf,args[0])) <= sizeof(revdata) ) + if ( (datalen= iguana_databuf(revdata,args[0])) <= sizeof(revdata) ) { - for (i=0; iopcode ) {