From 6f666d2c546931e4da6fc9bcaee7c5c028857845 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 31 May 2018 05:28:31 -1100 Subject: [PATCH] +print --- iguana/exchanges/LP_privkey.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 3a1911875..96e7f86a4 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -503,11 +503,11 @@ void verusblocks(struct iguana_info *coin,char *coinaddr) if ( posflag != 0 ) { numpos++; - if ( strcmp(coinaddr,stakingaddr) == 0 ) - possum += value, npos++; - if ( strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) + if ( strcmp(coinaddr,stakingaddr) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) { - RTu3sum += value, possum += value, npos++; + if (strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",stakingaddr) == 0 ) + RTu3sum += value; + possum += value, npos++; printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval); } else if ( num < 0 )