diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index afa702e53..74b69ef9e 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -291,7 +291,7 @@ cJSON *LP_gettxout(char *symbol,bits256 txid,int32_t vout) len = (int32_t)strlen(hexstr+1) >> 1; serialized = malloc(len); decode_hex(serialized,len,hexstr+1); - LP_swap_coinaddr(coin,coinaddr,&value,serialized,len,0); + LP_swap_coinaddr(coin,coinaddr,&value,serialized,len,vout); printf("HEX.(%s) len.%d %s %.8f\n",hexstr+1,len,coinaddr,dstr(value)); if ( (listjson= electrum_address_listunspent(coin->symbol,0,0,coinaddr)) != 0 ) {