Browse Source
Merge pull request #784 from jl777/jl777
Disable unspents cache
patch-3
jl777
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
iguana/exchanges/LP_socket.c
|
@ -619,6 +619,7 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON |
|
|
else if ( G.LP_pendingswaps != 0 && time(NULL) > ap->unspenttime+13 ) |
|
|
else if ( G.LP_pendingswaps != 0 && time(NULL) > ap->unspenttime+13 ) |
|
|
usecache = 0; |
|
|
usecache = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
usecache = 0; // disable unspents cache
|
|
|
if ( usecache == 0 || electrumflag > 1 ) |
|
|
if ( usecache == 0 || electrumflag > 1 ) |
|
|
{ |
|
|
{ |
|
|
if ( strcmp(symbol,"BCH") == 0 ) |
|
|
if ( strcmp(symbol,"BCH") == 0 ) |
|
|