Skip to content

Commit

Permalink
Request: Remove unused sweep request
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Jul 3, 2022
1 parent 95c36ed commit 5454f10
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/rpc/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,6 @@ pub enum Request {
#[display("cancel_swap")]
CancelSwap,

#[api(type = 191)]
#[display("sweep_address({0})")]
SweepAddress(SweepAddress),

#[api(type = 205)]
#[display("fund_swap({0})")]
FundSwap(OutPoint),
Expand Down Expand Up @@ -1001,13 +997,6 @@ pub enum Progress {
StateTransition(String),
}

#[derive(Clone, Debug, Display, StrictEncode, StrictDecode)]
#[display("{source_address}, {destination_address}")]
pub struct SweepAddress {
pub source_address: Address,
pub destination_address: Address,
}

#[cfg_attr(feature = "serde", serde_as)]
#[derive(Clone, PartialEq, Eq, Debug, Display, StrictEncode, StrictDecode)]
#[cfg_attr(
Expand Down

0 comments on commit 5454f10

Please sign in to comment.