From 559571dade6446df82d56b4c55a7cdd51d9b3070 Mon Sep 17 00:00:00 2001 From: zkao Date: Mon, 11 Jul 2022 18:46:05 +0200 Subject: [PATCH] swapd: remove unused fee estimate --- doc/sequencediagram.txt | 1 - src/swapd/runtime.rs | 8 -------- 2 files changed, 9 deletions(-) diff --git a/doc/sequencediagram.txt b/doc/sequencediagram.txt index 595afb1f6..2080d956b 100644 --- a/doc/sequencediagram.txt +++ b/doc/sequencediagram.txt @@ -142,7 +142,6 @@ m_swap <- m_syncer : Accordant Lock final t_swap <- t_syncer : Accordant Lock final parallel off -m_swap->m_syncer:Ctl EstimateFee (btc) peerd <- t_swap : Msg BuyProcedureSignature m_swap <- peerd : Msg BuyProcedureSignature m_swap -> m_checkpoint : Ctl CheckpointSwapAlicePreBuy diff --git a/src/swapd/runtime.rs b/src/swapd/runtime.rs index 48dc4a28b..382c372bb 100644 --- a/src/swapd/runtime.rs +++ b/src/swapd/runtime.rs @@ -585,14 +585,6 @@ impl Runtime { "Pending requests already existed prior to Reveal::Proof!" ) } - let btc_fee_task = self.syncer_state.estimate_fee_btc(); - endpoints.send_to( - ServiceBus::Ctl, - self.identity(), - self.syncer_state.bitcoin_syncer(), - Request::SyncerTask(btc_fee_task), - )?; - std::thread::sleep(Duration::from_secs_f32(2.0)); } SwapRole::Alice => { debug!("Alice: forwarding reveal");