Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
fix reset block requests
Browse files Browse the repository at this point in the history
  • Loading branch information
localhuman committed Apr 4, 2018
1 parent 2c37f55 commit ca14bfd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 4 additions & 0 deletions neo/Core/Blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ def BlockRequests(self):
"""
return self.__blockrequests

def ResetBlockRequests(self):
self.__blockrequests = set()
print("Requests now %s " % len(self.BlockRequests))

@staticmethod
def CalculateBonusIgnoreClaimed(inputs, ignore_claimed=True):
unclaimed = []
Expand Down

0 comments on commit ca14bfd

Please sign in to comment.