temporarily force refresh bip47 notification tx history on txns refresh

This commit is contained in:
julian 2023-02-16 08:05:41 -06:00
parent 774f2071b6
commit 755115b848

View file

@ -2178,7 +2178,10 @@ class BitcoinWallet extends CoinServiceAPI
.txidEqualTo(txHash["tx_hash"] as String)
.findFirst();
// TODO: remove bip47Notification type check sometime after Q2 2023
if (storedTx == null ||
storedTx.subType ==
isar_models.TransactionSubType.bip47Notification ||
!storedTx.isConfirmed(currentHeight, MINIMUM_CONFIRMATIONS)) {
final tx = await cachedElectrumXClient.getTransaction(
txHash: txHash["tx_hash"] as String,