[fix clearrequests] error iteration dictionary changed size
This commit is contained in:
parent
ccc9415542
commit
213798cfce
@ -651,7 +651,7 @@ class Commands:
|
|||||||
@command('w')
|
@command('w')
|
||||||
def clearrequests(self):
|
def clearrequests(self):
|
||||||
"""Remove all payment requests"""
|
"""Remove all payment requests"""
|
||||||
for k in self.wallet.receive_requests.keys():
|
for k in list(self.wallet.receive_requests.keys()):
|
||||||
self.wallet.remove_payment_request(k, self.config)
|
self.wallet.remove_payment_request(k, self.config)
|
||||||
|
|
||||||
@command('n')
|
@command('n')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user