fix #1934
This commit is contained in:
@@ -780,7 +780,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||||||
addr = self.wallet.get_unused_address()
|
addr = self.wallet.get_unused_address()
|
||||||
if addr is None:
|
if addr is None:
|
||||||
from electrum.wallet import Imported_Wallet
|
from electrum.wallet import Imported_Wallet
|
||||||
if isinstance(self.wallet, Imported_Wallet):
|
if not self.wallet.is_deterministic():
|
||||||
self.show_message(_('No more addresses in your wallet.'))
|
self.show_message(_('No more addresses in your wallet.'))
|
||||||
return
|
return
|
||||||
if not self.question(_("Warning: The next address will not be recovered automatically if you restore your wallet from seed; you may need to add it manually.\n\nThis occurs because you have too many unused addresses in your wallet. To avoid this situation, use the existing addresses first.\n\nCreate anyway?")):
|
if not self.question(_("Warning: The next address will not be recovered automatically if you restore your wallet from seed; you may need to add it manually.\n\nThis occurs because you have too many unused addresses in your wallet. To avoid this situation, use the existing addresses first.\n\nCreate anyway?")):
|
||||||
|
|||||||
Reference in New Issue
Block a user