mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
Move get_signer_weights function to signer_set.rs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
This commit is contained in:
@@ -516,8 +516,12 @@ impl BlockMinerThread {
|
||||
.burnchain
|
||||
.block_height_to_reward_cycle(self.burn_block.block_height)
|
||||
.expect("FATAL: no reward cycle for burn block");
|
||||
let signer_weights =
|
||||
chain_state.get_signers_weights(&sort_db, &self.parent_tenure_id, reward_cycle)?;
|
||||
let signer_weights = NakamotoSigners::get_signers_weights(
|
||||
&mut chain_state,
|
||||
&sort_db,
|
||||
&self.parent_tenure_id,
|
||||
reward_cycle,
|
||||
)?;
|
||||
let signature = self
|
||||
.wait_for_signer_signature(
|
||||
&stackerdbs,
|
||||
|
||||
Reference in New Issue
Block a user