Skip to content

Commit b3f503d

Browse files
committed
CRC: fix typo and var name
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent ec500ba commit b3f503d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stacks-signer/src/client/stacks_client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ impl StacksClient {
258258
reward_cycle: u64,
259259
) -> Result<Option<Point>, ClientError> {
260260
let function_name = ClarityName::from("get-approved-aggregate-key");
261-
let pox_contract_id = boot_code_id(SIGNERS_VOTING_NAME, self.mainnet);
261+
let voting_contract_id = boot_code_id(SIGNERS_VOTING_NAME, self.mainnet);
262262
let function_args = &[ClarityValue::UInt(reward_cycle as u128)];
263263
let value = self.read_only_contract_call(
264-
&pox_contract_id.issuer.into(),
265-
&pox_contract_id.name,
264+
&voting_contract_id.issuer.into(),
265+
&voting_contract_id.name,
266266
&function_name,
267267
function_args,
268268
)?;

stacks-signer/src/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ impl Signer {
12681268
let Some(round_weight) = stacks_client
12691269
.get_round_vote_weight(self.reward_cycle, self.coordinator.current_dkg_id)?
12701270
else {
1271-
// This only will happen if soemhow we registered as a signer and were granted no weight which should not really ever happen.
1271+
// This only will happen if somehow we registered as a signer and were granted no weight which should not really ever happen.
12721272
error!("{self}: already voted for DKG, but no round vote weight found. We either have no voting power or the contract is corrupted.";
12731273
"voting_round" => self.coordinator.current_dkg_id,
12741274
"aggregate_key" => %aggregate_key

0 commit comments

Comments
 (0)