From 550fcab6e7e192008e50adbea4205df918320577 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 19 Oct 2016 10:34:56 -0300 Subject: [PATCH] test --- src/komodo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index e4957b743..fd3d011b8 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -242,7 +242,7 @@ int32_t komodo_notaryfind(uint8_t *pubkey) { if ( Notaries[k][0] == 0 || Notaries[k][1] == 0 || Notaries[k][0][0] == 0 || Notaries[k][1][0] == 0 ) break; - decode_hex(notarypub,33,Notaries[k][1]); + decode_hex(notarypub,33,(char *)Notaries[k][1]); if ( memcmp(notarypub,pubkey,33) == 0 ) { //printf("%s ht.%d i.%d k.%d\n",Notaries[k][0],height,i,k); @@ -255,12 +255,13 @@ 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; + int32_t k,opretlen,len = 0; uint256 kmdtxid,btctxid; uint8_t crypto777[33]; for (k=0; k