From 898b8bf8b0b35f8d8cdc2b1899fe3ddab93d2a86 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 14 Jan 2021 13:43:02 +1100 Subject: [PATCH] Remove dead code --- swap/src/lib.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/swap/src/lib.rs b/swap/src/lib.rs index f7020277..569148ba 100644 --- a/swap/src/lib.rs +++ b/swap/src/lib.rs @@ -31,19 +31,6 @@ pub mod trace; pub type Never = std::convert::Infallible; -/// Commands sent from Bob to the main task. -#[derive(Clone, Copy, Debug)] -pub enum Cmd { - VerifyAmounts(SwapAmounts), -} - -/// Responses sent from the main task back to Bob. -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum Rsp { - VerifiedAmounts, - Abort, -} - /// XMR/BTC swap amounts. #[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq)] // TODO(Franck): review necessity of this struct