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