WIP implement sync done in resume sync for mock driver
This commit is contained in:
@@ -195,7 +195,10 @@ class MockDriver(SyncDriver):
|
||||
|
||||
|
||||
def get(self, conn, item):
|
||||
return self.blocks[item.cursor]
|
||||
try:
|
||||
return self.blocks[item.cursor]
|
||||
except KeyError:
|
||||
raise NoBlockForYou()
|
||||
|
||||
|
||||
def process(self, conn, item, block, tx_start):
|
||||
|
||||
Reference in New Issue
Block a user