From 9bd8223b2c3a3ff8a6d1d35d75d43162f204cc33 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 21:36:03 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 98228d585..6956314e3 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -941,7 +941,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above if ( strcmp(ASSETCHAINS_SYMBOL,CURRENCIES[baseids[i-1]]) == 0 ) { //check deposit validates AUD.1047 [3] 0.14585530 -> 0.01000000 (0.14585530 0.01000000 0.01000000) - checktoshis = komodo_paxprice(&seed,pax->height,CURRENCIES[baseids[i-1]],(char *)"KMD",(uint64_t)values[i-1]); + checktoshis = komodo_paxprice(&seed,pax->height,CURRENCIES[baseids[i-1]],(char *)"KMD",(uint64_t)pax->komodoshis); if ( komodo_paxcmp(CURRENCIES[baseids[i-1]],pax->height,pax->fiatoshis,checktoshis,0) == 0 ) printf("paxcmp PASS "); else printf("paxcmp FAIL ");