We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbdd56c commit 2742f7bCopy full SHA for 2742f7b
mytoncore/mytoncore.py
@@ -2968,7 +2968,7 @@ def WriteBookmarkData(self, bookmark):
2968
def offers_gc(self, save_offers):
2969
current_offers = self.GetOffers()
2970
current_offers_hashes = [offer.get("hash") for offer in current_offers]
2971
- for offer in save_offers:
+ for offer in list(save_offers.keys()):
2972
if offer not in current_offers_hashes:
2973
save_offers.pop(offer)
2974
return save_offers
0 commit comments