Browse Source

[fix clearrequests] error iteration dictionary changed size

3.0.x
Antoine Riard 7 years ago
parent
commit
213798cfce
  1. 2
      lib/commands.py

2
lib/commands.py

@ -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…
Cancel
Save