From 1037a74727c97dfc7e80d0c3acff465de3c400de Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 14 Mar 2018 17:28:56 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 1 + iguana/dpow/dpow_rpc.c | 2 +- iguana/elected | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index adc57f576..c4053f9ff 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -14,6 +14,7 @@ ******************************************************************************/ extern uint16_t Notaries_port; + struct signed_nnpacket { uint8_t sig64[64]; diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index d4d763d79..275d05ec6 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -67,7 +67,7 @@ int32_t komodo_initjson(char *fname) Notaries_BTCminsigs = num; if ( (num= juint(argjson,"minsigs")) > Notaries_minsigs ) Notaries_minsigs = num; - if ( (array= jarray(&n,argjson,"notaries")) != 0 && n < 64 ) + if ( (array= jarray(&n,argjson,"notaries")) != 0 && n <= 64 ) { for (i=0; i