Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jl777 committed Jan 25, 2018
1 parent 6a8c2a4 commit dd34d43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion iguana/exchanges/LP_privkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ void LP_privkey_updates(void *ctx,int32_t pubsock,char *passphrase)

int32_t LP_passphrase_init(char *passphrase,char *gui,uint16_t netid,char *seednode)
{
static void *ctx; int32_t counter; //iambob,; struct LP_utxoinfo *utxo,*tmp;
static void *ctx; struct iguana_info *coin,*tmp; int32_t counter;
if ( ctx == 0 )
ctx = bitcoin_ctx();
if ( G.LP_pendingswaps != 0 )
Expand All @@ -395,6 +395,10 @@ int32_t LP_passphrase_init(char *passphrase,char *gui,uint16_t netid,char *seedn
if ( gui == 0 )
gui = "cli";
counter = G.USERPASS_COUNTER;
HASH_ITER(hh,LP_coins,coin,tmp)
{
coin->importedprivkey = 0;
}
while ( G.waiting == 0 )
{
printf("waiting for G.waiting\n");
Expand Down

0 comments on commit dd34d43

Please sign in to comment.