def send_commit(view_no, pp_seq_no, nodes):
    commit = Commit(0, view_no, pp_seq_no)
    primary_node = getPrimaryReplica(nodes).node
    sendMessageToAll(nodes, primary_node, commit)
def send_commit(view_no, pp_seq_no, nodes):
    commit = Commit(0, view_no, pp_seq_no)
    primary_node = getPrimaryReplica(nodes).node
    sendMessageToAll(nodes, primary_node, commit)