Skip to content

Commit 4e93483

Browse files
committed
refactor: attach Tor listeners lazily in open() instead of constructor
1 parent 61e6a24 commit 4e93483

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

lib/wallets/wallet/intermediate/lib_monero_wallet.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ abstract class LibMoneroWallet<T extends CryptonoteCurrency>
5353
int get isarTransactionVersion => 2;
5454

5555
LibMoneroWallet(super.currency, this.compatType) {
56-
_attachTorListeners();
57-
5856
// Potentially dangerous hack. See comments in _startInit()
5957
_startInit();
6058
}

lib/wallets/wallet/intermediate/lib_salvium_wallet.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ abstract class LibSalviumWallet<T extends CryptonoteCurrency>
5151
int get isarTransactionVersion => 2;
5252

5353
LibSalviumWallet(super.currency) {
54-
_attachTorListeners();
55-
5654
// Potentially dangerous hack. See comments in _startInit()
5755
_startInit();
5856
}

lib/wallets/wallet/intermediate/lib_wownero_wallet.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ abstract class LibWowneroWallet<T extends CryptonoteCurrency>
5555
int get isarTransactionVersion => 2;
5656

5757
LibWowneroWallet(super.currency, this.compatType) {
58-
_attachTorListeners();
59-
6058
// Potentially dangerous hack. See comments in _startInit()
6159
_startInit();
6260
}

0 commit comments

Comments
 (0)