Log the last_id being voted on
This commit is contained in:
parent
678b2870ff
commit
538c3b63e1
|
@ -259,7 +259,7 @@ impl Bank {
|
|||
let _ = self.apply_signature(tx.from, *tx_sig);
|
||||
}
|
||||
Instruction::NewVote(_vote) => {
|
||||
info!("GOT VOTE!");
|
||||
info!("GOT VOTE! last_id={:?}", &tx.last_id[..8]);
|
||||
// TODO: record the vote in the stake table...
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ impl VoteStage {
|
|||
let (vote, addr) = {
|
||||
let mut wcrdt = crdt.write().unwrap();
|
||||
//TODO: doesn't seem like there is a synchronous call to get height and id
|
||||
info!("replicate_stage {:?}", &last_id[..8]);
|
||||
info!("voting on {:?}", &last_id[..8]);
|
||||
wcrdt.new_vote(*last_id)
|
||||
}?;
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue