|
|
@ -942,7 +942,7 @@ bits256 LP_swap_spendtxid(char *symbol,char *destaddr,bits256 utxotxid,int32_t v |
|
|
|
memset(&spendtxid,0,sizeof(spendtxid)); |
|
|
|
if ( LP_spendsearch(&spendtxid,&spendvin,symbol,utxotxid,vout) > 0 ) |
|
|
|
printf("spend of %s/v%d detected\n",bits256_str(str,utxotxid),vout); |
|
|
|
else if ( (coin= LP_coinfind(symbol)) != 0 && coin->electrum == 0 ) |
|
|
|
else if ( 0 && (coin= LP_coinfind(symbol)) != 0 && coin->electrum == 0 ) |
|
|
|
{ |
|
|
|
if ( (retjson= LP_gettxout(symbol,coinaddr,utxotxid,vout)) == 0 ) |
|
|
|
{ |
|
|
|