diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index 651e9c0e8..0d013b68e 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/iguana/exchanges/LP_signatures.c @@ -616,6 +616,7 @@ char *LP_notify_recv(cJSON *argjson) void LP_smartutxos_push(struct iguana_info *coin) { uint64_t value; bits256 zero,txid; int32_t i,vout,height,n; cJSON *array,*item,*req; + return; if ( coin->smartaddr[0] == 0 ) return; //LP_notify_pubkeys(coin->ctx,LP_mypubsock); diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 36e6988ca..723a61a92 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -602,7 +602,10 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON printf("%s.%d u.%u/%d t.%ld %s LISTUNSPENT.(%d)\n",coin->symbol,height,ap->unspenttime,ap->unspentheight,time(NULL),addr,(int32_t)strlen(jprint(retjson,0))); updatedflag = 0; if ( electrum_process_array(coin,ep,addr,retjson,electrumflag) != 0 ) - LP_postutxos(coin->symbol,addr), updatedflag = 1; + { + //LP_postutxos(coin->symbol,addr); + updatedflag = 1; + } if ( strcmp(addr,coin->smartaddr) == 0 ) { retstr = jprint(retjson,0); diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index fc05779cb..90e0aafc8 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -700,7 +700,7 @@ int32_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypri } } free_json(array); - if ( flag != 0 ) + if ( 0 && flag != 0 ) LP_postutxos(coin->symbol,coin->smartaddr); } if ( values != 0 ) @@ -849,7 +849,9 @@ void LP_privkey_updates(void *ctx,int32_t pubsock,char *passphrase) { //printf("from updates %s\n",coin->symbol); if ( 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); + } } } }