From fc04be111d3a0c73661ca2fbf55a37efb7d4a80a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 21 Nov 2016 16:45:59 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_fsm.c | 2 +- iguana/iguana_notary.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 10942c26b..6c6527d0a 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -270,7 +270,7 @@ void dpow_statemachinestart(void *ptr) if ( kmdheight >= 0 ) { ht = kmdheight;///strcmp("KMD",src->symbol) == 0 ? kmdheight : bp->height; - if ( ht == 0 ) + if ( ht == 0 || strcmp("KMD",dest->symbol) == 0 ) ht = strcmp("KMD",src->symbol) == 0 ? src->longestchain : dest->longestchain; bp->numnotaries = komodo_notaries(src->symbol,pubkeys,ht); for (i=0; inumnotaries; i++) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 07c65417a..a5a21944e 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -275,9 +275,9 @@ TWO_STRINGS(iguana,dpow,symbol,pubkey) myinfo->numdpows++; PAX_init(); portable_mutex_init(&dp->mutex); - printf(">>>>>>>>>>>>>>> call paxpending\n"); - uint8_t buf[32768]; - dpow_paxpending(buf); + //printf(">>>>>>>>>>>>>>> call paxpending\n"); + //uint8_t buf[32768]; + //dpow_paxpending(buf); return(clonestr("{\"result\":\"success\"}")); }