From d780aa21f7eccb0e30552c942ae1a9ef6e957dc1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 Nov 2016 10:48:26 -0300 Subject: [PATCH] test --- iguana/dPoW.h | 2 +- iguana/dpow/dpow_tx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dPoW.h b/iguana/dPoW.h index 6b06e1ccd..7aa73b1ab 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -19,7 +19,7 @@ #define DPOW_FIRSTRATIFY 1000 #define DPOW_CHECKPOINTFREQ 10 -#define DPOW_MINSIGS 19 //((height < 90000) ? 7 : 11) +#define DPOW_MINSIGS 2 //((height < 90000) ? 7 : 11) //#define DPOW_M(bp) ((bp)->minsigs) // (((bp)->numnotaries >> 1) + 1) #define DPOW_MODIND(bp,offset) (((((bp)->height / DPOW_CHECKPOINTFREQ) % (bp)->numnotaries) + (offset)) % (bp)->numnotaries) #define DPOW_VERSION 0x0769 diff --git a/iguana/dpow/dpow_tx.c b/iguana/dpow/dpow_tx.c index 4db379017..8178365df 100755 --- a/iguana/dpow/dpow_tx.c +++ b/iguana/dpow/dpow_tx.c @@ -414,7 +414,7 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu valid = 0; if ( dp->ratifying != 0 && j == 0 ) valid = 1; - else if ( (pubstr= jstr(vinitem,"scriptPubkey")) != 0 && is_hexstr(pubstr,0) == 66 ) + else if ( (pubstr= jstr(vinitem,"scriptPubKey")) != 0 && is_hexstr(pubstr,0) == 66 ) { decode_hex(pubkey33,33,&pubstr[1]); if ( memcmp(pubkey33,dp->minerkey33,33) == 0 )