Skip to content

Commit

Permalink
post merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJOHN974 committed Feb 21, 2025
1 parent 66e05d6 commit 3b34bb5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions signer/src/transaction_coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ where
#[tracing::instrument(skip_all)]
async fn construct_and_sign_stacks_sbtc_response_transactions(
&mut self,
chain_tip: &model::BitcoinBlockHash,
chain_tip: &model::BitcoinBlockRef,
bitcoin_aggregate_key: &PublicKey,
) -> Result<(), Error> {
self.construct_and_sign_stacks_sbtc_depost_response_transactions(
Expand Down Expand Up @@ -776,10 +776,10 @@ where
#[tracing::instrument(skip_all)]
async fn construct_and_sign_stacks_sbtc_withdrawal_response_transactions(
&mut self,
chain_tip: &model::BitcoinBlockHash,
chain_tip: &model::BitcoinBlockRef,
bitcoin_aggregate_key: &PublicKey,
) -> Result<(), Error> {
let wallet = SignerWallet::load(&self.context, chain_tip).await?;
let wallet = SignerWallet::load(&self.context, &chain_tip.block_hash).await?;
let stacks = self.context.get_stacks_client();

// Fetch withdrawal requests from the database where
Expand All @@ -792,7 +792,7 @@ where
let withdrawal_requests = self
.context
.get_storage()
.get_swept_withdrawal_requests(chain_tip, self.context_window)
.get_swept_withdrawal_requests(&chain_tip.block_hash, self.context_window)
.await?;

if withdrawal_requests.is_empty() {
Expand Down Expand Up @@ -836,7 +836,7 @@ where
// transaction because someone else is now the coordinator, and
// all the signers are now ignoring us.
let process_request_fut =
self.process_sign_request(sign_request, chain_tip, multi_tx, &wallet);
self.process_sign_request(sign_request, &chain_tip.block_hash, multi_tx, &wallet);

let status = match process_request_fut.await {
Ok(txid) => {
Expand Down

0 comments on commit 3b34bb5

Please sign in to comment.