Fix warnings warnings

This commit is contained in:
Paul Hauner 2018-07-13 15:40:06 +10:00
parent 27b8c03414
commit 24c5e1a2f5

View File

@ -123,7 +123,7 @@ mod tests {
let validators: u16 = 10; let validators: u16 = 10;
let c = get_crosslink_shards_count( let _ = get_crosslink_shards_count(
&(validators as usize), &(validators as usize),
&config); &config);
} }
@ -179,7 +179,7 @@ mod tests {
ValidatorRecord::zero_with_thread_rand_pub_key())); ValidatorRecord::zero_with_thread_rand_pub_key()));
cry_state.next_shard = 6; cry_state.next_shard = 6;
let c = get_crosslink_shards( let _ = get_crosslink_shards(
&cry_state, &cry_state,
&config); &config);
} }