feat(swap): merge cancel/refund commands into one command

This commit is contained in:
Byron Hambly 2023-01-04 11:23:24 +02:00
parent 4e7ba9517b
commit f39e1de964
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
12 changed files with 220 additions and 177 deletions

View file

@ -1,17 +1,15 @@
mod behaviour;
pub mod cancel;
pub mod cancel_and_refund;
pub mod command;
mod event_loop;
mod list_sellers;
pub mod refund;
pub mod tracing;
pub mod transport;
pub use behaviour::{Behaviour, OutEvent};
pub use cancel::cancel;
pub use cancel_and_refund::{cancel, cancel_and_refund, refund};
pub use event_loop::{EventLoop, EventLoopHandle};
pub use list_sellers::{list_sellers, Seller, Status as SellerStatus};
pub use refund::refund;
#[cfg(test)]
mod tests {