From c6bd7b17969ffe40bbe1ed80da536bccd66ac580 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 17 Mar 2017 03:44:55 +0200 Subject: [PATCH] test --- src/komodo.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 94fb1347c..037aa1601 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -427,8 +427,11 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr } else if ( i == 0 && j == 1 && opretlen == 149 ) { - if ( notaryid >= 0 && notaryid < 64 ) + if ( signedmask != 0 ) //notaryid >= 0 && notaryid < 64 ) + { + printf("pricefeed.%llx\n",(long long)signedmask); komodo_paxpricefeed(height,&scriptbuf[len],opretlen); + } } else { @@ -446,7 +449,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr printf("ISRATIFICATION (%s)\n",(char *)&scriptbuf[len+32*2+4]); } } - if ( *isratificationp == 0 ) + if ( *isratificationp == 0 && (signedmask != 0 || (scriptbuf[len] != 'X' && scriptbuf[len] != 'A' && scriptbuf[len] != 'I') ) komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen,j); } }