Browse Source

Test

etomic
jl777 7 years ago
parent
commit
2be982d74b
  1. 2
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_portfolio.c
  3. 2
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_include.h

@ -23,7 +23,7 @@
#define LP_MAJOR_VERSION "0" #define LP_MAJOR_VERSION "0"
#define LP_MINOR_VERSION "1" #define LP_MINOR_VERSION "1"
#define LP_BUILD_NUMBER "15324" #define LP_BUILD_NUMBER "15377"
#define LP_BARTERDEX_VERSION 1 #define LP_BARTERDEX_VERSION 1
#define LP_MAGICBITS 8 #define LP_MAGICBITS 8

2
iguana/exchanges/LP_portfolio.c

@ -94,7 +94,7 @@ char *LP_portfolio()
if ( iter == 0 ) if ( iter == 0 )
{ {
//printf("from portfolio\n"); //printf("from portfolio\n");
LP_privkey_init(-1,coin,G.LP_privkey,G.LP_mypub25519); //LP_privkey_init(-1,coin,G.LP_privkey,G.LP_mypub25519);
coin->balanceA = LP_balance(&coin->valuesumA,0,coin->symbol,coin->smartaddr); coin->balanceA = LP_balance(&coin->valuesumA,0,coin->symbol,coin->smartaddr);
coin->balanceB = LP_balance(&coin->valuesumB,1,coin->symbol,coin->smartaddr); coin->balanceB = LP_balance(&coin->valuesumB,1,coin->symbol,coin->smartaddr);
if ( strcmp(coin->symbol,"KMD") != 0 ) if ( strcmp(coin->symbol,"KMD") != 0 )

2
iguana/exchanges/LP_utxos.c

@ -855,7 +855,7 @@ void LP_privkey_updates(void *ctx,int32_t pubsock,char *passphrase)
else if ( IAMLP == 0 || coin->inactive == 0 ) else if ( IAMLP == 0 || coin->inactive == 0 )
{ {
//printf("from updates %s\n",coin->symbol); //printf("from updates %s\n",coin->symbol);
if ( LP_privkey_init(pubsock,coin,G.LP_privkey,G.LP_mypub25519) == 0 && (LP_rand() % 10) == 0 ) if ( 0 && LP_privkey_init(pubsock,coin,G.LP_privkey,G.LP_mypub25519) == 0 && (LP_rand() % 10) == 0 )
{ {
//LP_postutxos(coin->symbol,coin->smartaddr); //LP_postutxos(coin->symbol,coin->smartaddr);
} }

Loading…
Cancel
Save