diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index 8915ddfca..0be875e55 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -211,7 +211,7 @@ uint64_t LP_txvalue(char *coinaddr,char *symbol,bits256 txid,int32_t vout) return(0); if ( coinaddr != 0 ) coinaddr[0] = 0; - if ( (tx= LP_transactionfind(coin,txid)) == 0 ) + if ( (tx= LP_transactionfind(coin,txid)) != 0 ) { if ( vout < tx->numvouts ) {