@ -777,7 +777,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.saved=True
defnew_payment_request(self):
addr=self.wallet.get_unused_address(None)
addr=self.wallet.get_unused_address()
ifaddrisNone:
fromelectrum.walletimportImported_Wallet
ifisinstance(self.wallet,Imported_Wallet):
@ -785,7 +785,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
return
ifnotself.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?")):