def send_prepare(view_no, pp_seq_no, nodes, state_root=None, txn_root=None):
    prepare = Prepare(0, view_no, pp_seq_no, get_utc_epoch(), 'random digest', (state_root or ('0' * 44)), (txn_root or ('0' * 44)))
    primary_node = getPrimaryReplica(nodes).node
    sendMessageToAll(nodes, primary_node, prepare)
def send_prepare(view_no, pp_seq_no, nodes, state_root=None, txn_root=None):
    prepare = Prepare(0, view_no, pp_seq_no, get_utc_epoch(), 'random digest', (state_root or ('0' * 44)), (txn_root or ('0' * 44)))
    primary_node = getPrimaryReplica(nodes).node
    sendMessageToAll(nodes, primary_node, prepare)