mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
do not set SP listeners on hardware/view-only wallets
This commit is contained in:
@@ -335,6 +335,9 @@ abstract class ElectrumWalletBase
|
||||
@action
|
||||
Future<void> _setListeners(int height, {int? chainTipParam, bool? doSingleScan}) async {
|
||||
if (this is! BitcoinWallet) return;
|
||||
if (isHardwareWallet) return;
|
||||
if (seed?.isEmpty ?? true) return;
|
||||
|
||||
final chainTip = chainTipParam ?? await getUpdatedChainTip();
|
||||
|
||||
if (chainTip == height) {
|
||||
|
||||
Reference in New Issue
Block a user