Skip to content

Commit

Permalink
removed duplicate get_round_info
Browse files Browse the repository at this point in the history
  • Loading branch information
setzeus committed Mar 7, 2024
1 parent 2cc4807 commit 4ef96a4
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions stackslib/src/chainstate/stacks/boot/signers_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,21 +541,3 @@ pub fn get_signer_index(
})
.expect("signer not found") as u128
}

pub fn get_round_info(
peer: &mut TestPeer<'_>,
latest_block_id: StacksBlockId,
reward_cycle: u128,
round: u128,
) -> Option<Value> {
let round_tuple = readonly_call(
peer,
&latest_block_id,
"signers-voting".into(),
"get-round-info".into(),
vec![Value::UInt(reward_cycle), Value::UInt(round)],
)
.expect_optional()
.unwrap();
round_tuple
}

0 comments on commit 4ef96a4

Please sign in to comment.