diff --git a/swap/src/protocol/alice/event_loop.rs b/swap/src/protocol/alice/event_loop.rs index 537a476e..c04dbdb8 100644 --- a/swap/src/protocol/alice/event_loop.rs +++ b/swap/src/protocol/alice/event_loop.rs @@ -42,12 +42,6 @@ pub struct EventLoop { swap_sender: mpsc::Sender, } -#[derive(Debug)] -pub struct EventLoopHandle { - recv_encrypted_signature: Option>, - send_transfer_proof: Option>, -} - impl EventLoop where LR: LatestRate, @@ -310,6 +304,12 @@ impl LatestRate for kraken::RateUpdateStream { } } +#[derive(Debug)] +pub struct EventLoopHandle { + recv_encrypted_signature: Option>, + send_transfer_proof: Option>, +} + impl EventLoopHandle { pub async fn recv_encrypted_signature(&mut self) -> Result { let signature = self