decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

revocations: dictionary changed size during interation #62

Closed JoeGruffins closed 4 years ago

JoeGruffins commented 4 years ago

log:

2020-01-24 11:17:09,504 dcrdata INFO revokeTicket(1442) published revocation ef236122473efa65ac810df62ed61cfde859dd913abb04665942457c66ac770d
2020-01-24 11:17:10,042 dcrdata INFO revokeTicket(1442) published revocation d6f7466127f24d75218aa9ddafdb11c451428561ba1a4fe2c5929a4cba79e811
  File "/home/joe/git/tinydecred/tinywallet/tinywallet/screens.py", line 1242, in revoke
    wallet.openAccount.revokeTickets()
  File "/home/joe/git/tinydecred/decred/decred/dcr/account.py", line 1500, in revokeTickets
    for tx in txs:
  File "/home/joe/git/tinydecred/decred/decred/dcr/account.py", line 1499, in <genexpr>
    txs = (self.blockchain.tx(txid) for txid in revocableTickets)
  File "/home/joe/git/tinydecred/decred/decred/dcr/account.py", line 1496, in <genexpr>
    revocableTickets = (
2020-01-24 11:17:10,046 screens ERROR revoke(1245) revoke tickets error: dictionary changed size during iteration
None

Ran into this error when revoking multiple tickets.