fix problem with adding to replica.requests
@@ -771,7 +771,7 @@ class Replica(HasActionQueue, MessageProcessor, HookManager):
self.send(ppReq, TPCStat.PrePrepareSent)
def readyFor3PC(self, key: ReqKey):
- fin_req = self.requests[key].finalised
+ fin_req = self.requests[key.digest].finalised
queue = self.requestQueues[self.node.ledger_id_for_request(fin_req)]
queue.add(key)
if not self.hasPrimary and len(queue) >= self.HAS_NO_PRIMARY_WARN_THRESCHOLD:
