Skip to content

Commit

Permalink
style: ran cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
h4sh3d committed Nov 15, 2022
1 parent 9897df0 commit 38bdafd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/bus/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub enum PeerMsg {
//#[api(type = 33703)]
//#[display("reveal {0}")]
//Reveal(Reveal),

#[api(type = 33704)]
#[display("reveal {0}")]
Reveal2(Reveal2),
Expand Down
6 changes: 2 additions & 4 deletions src/swapd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,8 @@ impl Runtime {
// 3. watch the arbitrating address to receive an event on funding
debug!("Bob: watch the arbitrating address to receive an event on funding");
if !self.syncer_state.is_watched_addr(&TxLabel::Funding) {
let watch_addr_task = self
.syncer_state
.watch_addr_btc(address, TxLabel::Funding);
let watch_addr_task =
self.syncer_state.watch_addr_btc(address, TxLabel::Funding);
endpoints.send_to(
ServiceBus::Sync,
self.identity(),
Expand Down Expand Up @@ -1111,7 +1110,6 @@ impl Runtime {
}
}
*/

// Swap role: Bob, initiator of this message
// Message #1 after commit/reveal
//
Expand Down
1 change: 0 additions & 1 deletion src/walletd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@ impl Runtime {
}
}
*/

PeerMsg::RefundProcedureSignatures(RefundProcedureSignatures {
swap_id: _,
cancel_sig: alice_cancel_sig,
Expand Down

0 comments on commit 38bdafd

Please sign in to comment.