Rename last_id to last_hash within HashQueue

This commit is contained in:
Michael Vines
2019-03-01 09:55:13 -08:00
parent 224b705f8d
commit 46fb0b1b94
3 changed files with 38 additions and 67 deletions

View File

@@ -160,13 +160,8 @@ mod tests {
let bank_voter = Keypair::new();
// Give the validator some stake but don't setup a staking account
bank.transfer(
1,
&mint_keypair,
validator.pubkey(),
genesis_block.hash(),
)
.unwrap();
bank.transfer(1, &mint_keypair, validator.pubkey(), genesis_block.hash())
.unwrap();
// Validator has no token staked, so they get filtered out. Only the bootstrap leader
// created by the genesis block will get included