Issue #12: Fix to ensure the Bluewallet app does not see on-chain Tx(s) if LND was to funnel channels using the user's BTC address for deposits.
This commit is contained in:
parent
16c6d167da
commit
6a6611e9b6
@ -289,7 +289,7 @@ export class User {
|
||||
txs = txs.result;
|
||||
let result = [];
|
||||
for (let tx of txs) {
|
||||
if (tx.confirmations >= 3 && tx.address === addr) {
|
||||
if (tx.confirmations >= 3 && tx.address === addr && tx.category === 'receive') {
|
||||
tx.type = 'bitcoind_tx';
|
||||
result.push(tx);
|
||||
}
|
||||
@ -339,7 +339,7 @@ export class User {
|
||||
txs = txs.result;
|
||||
let result = [];
|
||||
for (let tx of txs) {
|
||||
if (tx.confirmations < 3 && tx.address === addr) {
|
||||
if (tx.confirmations < 3 && tx.address === addr && tx.category === 'receive') {
|
||||
result.push(tx);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user