File tree Expand file tree Collapse file tree
lib/wallets/wallet/intermediate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ abstract class LibMoneroWallet<T extends CryptonoteCurrency>
5353 int get isarTransactionVersion => 2 ;
5454
5555 LibMoneroWallet (super .currency, this .compatType) {
56- _attachTorListeners ();
56+ // Tor listeners are attached lazily in open() so events cannot drive
57+ // updateNode() before a wallet has been loaded.
5758
5859 // Potentially dangerous hack. See comments in _startInit()
5960 _startInit ();
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ abstract class LibSalviumWallet<T extends CryptonoteCurrency>
5151 int get isarTransactionVersion => 2 ;
5252
5353 LibSalviumWallet (super .currency) {
54- _attachTorListeners ();
54+ // Tor listeners are attached lazily in open() so events cannot drive
55+ // updateNode() before a wallet has been loaded.
5556
5657 // Potentially dangerous hack. See comments in _startInit()
5758 _startInit ();
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ abstract class LibWowneroWallet<T extends CryptonoteCurrency>
5555 int get isarTransactionVersion => 2 ;
5656
5757 LibWowneroWallet (super .currency, this .compatType) {
58- _attachTorListeners ();
58+ // Tor listeners are attached lazily in open() so events cannot drive
59+ // updateNode() before a wallet has been loaded.
5960
6061 // Potentially dangerous hack. See comments in _startInit()
6162 _startInit ();
You can’t perform that action at this time.
0 commit comments