Skip to content

Commit

Permalink
Change this back
Browse files Browse the repository at this point in the history
  • Loading branch information
djordon committed Jan 15, 2025
1 parent 1ff106e commit da4e9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signer/src/transaction_signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ where
/// based on the current state of the signer and the DKG configuration.
async fn assert_allow_dkg_begin(
context: &impl Context,
chain_tip: &model::BitcoinBlockRef,
bitcoin_chain_tip: &model::BitcoinBlockRef,
) -> Result<(), Error> {
let storage = context.get_storage();
let config = context.config();
Expand Down Expand Up @@ -894,7 +894,7 @@ async fn assert_allow_dkg_begin(
);
return Err(Error::DkgHasAlreadyRun);
}
if chain_tip.block_height < dkg_min_height.get() {
if bitcoin_chain_tip.block_height < dkg_min_height.get() {
tracing::warn!(
?dkg_min_bitcoin_block_height,
%dkg_target_rounds,
Expand Down

0 comments on commit da4e9f3

Please sign in to comment.