Skip to content

Commit

Permalink
swapd: remove unused fee estimate
Browse files Browse the repository at this point in the history
  • Loading branch information
zkao committed Jul 11, 2022
1 parent f6a042f commit 559571d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion doc/sequencediagram.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions src/swapd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 559571d

Please sign in to comment.