explicitly check p2pkh change address on refresh

This commit is contained in:
julian 2023-02-23 13:49:27 -06:00
parent 97f36e6f04
commit a63af1787a

View file

@ -1016,6 +1016,7 @@ class BitcoinWallet extends CoinServiceAPI
if (currentHeight != storedHeight) { if (currentHeight != storedHeight) {
GlobalEventBus.instance.fire(RefreshPercentChangedEvent(0.2, walletId)); GlobalEventBus.instance.fire(RefreshPercentChangedEvent(0.2, walletId));
await _checkChangeAddressForTransactions(); await _checkChangeAddressForTransactions();
await _checkP2PKHChangeAddressForTransactions();
GlobalEventBus.instance.fire(RefreshPercentChangedEvent(0.3, walletId)); GlobalEventBus.instance.fire(RefreshPercentChangedEvent(0.3, walletId));
await _checkCurrentReceivingAddressesForTransactions(); await _checkCurrentReceivingAddressesForTransactions();