diff --git a/Adamant/Modules/Wallets/Bitcoin/BtcWalletService.swift b/Adamant/Modules/Wallets/Bitcoin/BtcWalletService.swift index 0613545a3..c3e78f06c 100644 --- a/Adamant/Modules/Wallets/Bitcoin/BtcWalletService.swift +++ b/Adamant/Modules/Wallets/Bitcoin/BtcWalletService.swift @@ -219,6 +219,8 @@ final class BtcWalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.transactions = [] } .store(in: &subscriptions) } diff --git a/Adamant/Modules/Wallets/Dash/DashWalletService.swift b/Adamant/Modules/Wallets/Dash/DashWalletService.swift index d31b42cfa..3e5abd33f 100644 --- a/Adamant/Modules/Wallets/Dash/DashWalletService.swift +++ b/Adamant/Modules/Wallets/Dash/DashWalletService.swift @@ -195,6 +195,8 @@ final class DashWalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.historyTransactions = [] } .store(in: &subscriptions) } diff --git a/Adamant/Modules/Wallets/Doge/DogeWalletService.swift b/Adamant/Modules/Wallets/Doge/DogeWalletService.swift index 04234b135..a6a4d2a06 100644 --- a/Adamant/Modules/Wallets/Doge/DogeWalletService.swift +++ b/Adamant/Modules/Wallets/Doge/DogeWalletService.swift @@ -193,6 +193,8 @@ final class DogeWalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.historyTransactions = [] } .store(in: &subscriptions) } diff --git a/Adamant/Modules/Wallets/ERC20/ERC20WalletService.swift b/Adamant/Modules/Wallets/ERC20/ERC20WalletService.swift index 1c8508abc..c5fd96fc0 100644 --- a/Adamant/Modules/Wallets/ERC20/ERC20WalletService.swift +++ b/Adamant/Modules/Wallets/ERC20/ERC20WalletService.swift @@ -203,6 +203,8 @@ final class ERC20WalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.historyTransactions = [] } .store(in: &subscriptions) } diff --git a/Adamant/Modules/Wallets/Ethereum/EthWalletService.swift b/Adamant/Modules/Wallets/Ethereum/EthWalletService.swift index 7b75a03ed..9adaa8377 100644 --- a/Adamant/Modules/Wallets/Ethereum/EthWalletService.swift +++ b/Adamant/Modules/Wallets/Ethereum/EthWalletService.swift @@ -218,6 +218,8 @@ final class EthWalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.historyTransactions = [] } .store(in: &subscriptions) } diff --git a/Adamant/Modules/Wallets/Lisk/LskWalletService.swift b/Adamant/Modules/Wallets/Lisk/LskWalletService.swift index 987116b73..48be5c4e9 100644 --- a/Adamant/Modules/Wallets/Lisk/LskWalletService.swift +++ b/Adamant/Modules/Wallets/Lisk/LskWalletService.swift @@ -165,6 +165,8 @@ final class LskWalletService: WalletService { self?.balanceObserver = nil } self?.coinStorage.clear() + self?.hasMoreOldTransactions = true + self?.transactions = [] } .store(in: &subscriptions) }