From 9c406099f1da9656da5e0b1bcd6589e1b3ef5658 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 19 Oct 2016 11:13:40 -0300 Subject: [PATCH] test --- src/komodo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index af2e838bc..a316f29c6 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -222,8 +222,7 @@ int32_t komodo_notaryfind(uint8_t *pubkey) int32_t komodo_voutupdate(int32_t notaryid,uint8_t *scriptbuf,int32_t scriptlen,int32_t height,uint256 txhash,int32_t i,int32_t j,uint64_t *voutmaskp,int32_t *specialtxp,int32_t *notarizedheightp) { int32_t k,opretlen,len = 0; uint256 kmdtxid,btctxid; uint8_t crypto777[33]; - printf("len.%d [0].%d [34].%d\n",len,scriptbuf[0],scriptbuf[34]); - if ( len == 35 && scriptbuf[0] == 33 && scriptbuf[34] == 0xac ) + if ( scriptlen == 35 && scriptbuf[0] == 33 && scriptbuf[34] == 0xac ) { decode_hex(crypto777,33,(char *)CRYPTO777_PUBSECPSTR); for (k=0; k<33; k++)