From da4e9f33739e9caccc085821f11350e9e02fb457 Mon Sep 17 00:00:00 2001 From: djordon Date: Wed, 15 Jan 2025 01:39:20 -0500 Subject: [PATCH] Change this back --- signer/src/transaction_signer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signer/src/transaction_signer.rs b/signer/src/transaction_signer.rs index e7aca1a2e..621872096 100644 --- a/signer/src/transaction_signer.rs +++ b/signer/src/transaction_signer.rs @@ -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(); @@ -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,