1
0
This commit is contained in:
Sander van Grieken
2023-04-25 14:22:19 +02:00
parent a23457f48d
commit 663ea431f6

View File

@@ -624,7 +624,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
@pyqtSlot(QEAmount, str, int, bool, bool)
@pyqtSlot(QEAmount, str, int, bool, bool, bool)
def createRequest(self, amount: QEAmount, message: str, expiration: int, lightning_only: bool = False, reuse_address: bool = False):
self.delete_expired_requests()
self.deleteExpiredRequests()
try:
amount = amount.satsInt
addr = self.wallet.get_unused_address()