From 99dfd5b3c946c2f4e3156bf77d5c1b6434af714c Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 11 Jun 2019 01:35:49 -1100 Subject: [PATCH] Support CHIPS --- src/cc/dapps/zmigrate.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/cc/dapps/zmigrate.c b/src/cc/dapps/zmigrate.c index 854ce9e64..ea8085822 100644 --- a/src/cc/dapps/zmigrate.c +++ b/src/cc/dapps/zmigrate.c @@ -1086,11 +1086,11 @@ void scan_claims(int32_t issueflag,char *refcoin,int32_t batchid) else if ( batchid == 2 ) { batchmin = 1;//777 * SATOSHIDEN; - batchmax = 47777 * SATOSHIDEN; + batchmax = 77777 * SATOSHIDEN; } else if ( batchid == 3 ) { - batchmin = 47777 * SATOSHIDEN; + batchmin = 77777 * SATOSHIDEN; batchmax = 1000000 * SATOSHIDEN; } for (i=0; itotal > item->refundvalue*1.05 + 10*SATOSHIDEN ) + if ( item->total > item->refundvalue*1.1 + 10*SATOSHIDEN ) { - //if ( (item->total-item->refundvalue) > 777*SATOSHIDEN ) printf("possible.%d stolen %s %.8f vs refund %.8f -> %.8f\n",batchid,item->oldaddr,dstr(item->total),dstr(item->refundvalue),dstr(item->total)-dstr(item->refundvalue)); numstolen++; possiblestolen += (item->total - item->refundvalue); @@ -1324,7 +1323,7 @@ int32_t main(int32_t argc,char **argv) coinstr = clonestr(argv[1]); acstr = coinstr; } - if ( strcmp(coinstr,"KMD") == 0 ) + if ( 1 )//strcmp(coinstr,"KMD") == 0 ) { sprintf(buf,"%s-Claims.csv",coinstr); reconcile_claims(buf);