From eb406ebdf6a661d09e4f1f202ed000d232777eb1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Nov 2016 20:19:39 -0300 Subject: [PATCH] test --- src/komodo.h | 11 +++++++---- src/komodo_gateway.h | 12 ++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 39bf693f5..637e65fdd 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -304,9 +304,6 @@ int32_t komodo_voutupdate(int32_t notaryid,uint8_t *scriptbuf,int32_t scriptlen, opretlen = scriptbuf[len++]; opretlen = (opretlen << 8) + scriptbuf[len++]; } - //for (k=0; k= 32*2+4 && strcmp(ASSETCHAINS_SYMBOL[0]==0?"KMD":ASSETCHAINS_SYMBOL,(char *)&scriptbuf[len+32*2+4]) == 0 ) { len += iguana_rwbignum(0,&scriptbuf[len],32,(uint8_t *)&kmdtxid); @@ -323,7 +320,13 @@ int32_t komodo_voutupdate(int32_t notaryid,uint8_t *scriptbuf,int32_t scriptlen, } else if ( i == 0 && j == 1 && opretlen == 149 ) komodo_paxpricefeed(height,&scriptbuf[len],opretlen); - else komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,value,&scriptbuf[len],opretlen,j); + else + { + for (k=0; k 0 && shortflag == ASSETCHAINS_SHORTFLAG ) { for (i=0; i