Rename alice::negotiate to steps

This module includes helper function for each state.
This commit is contained in:
Franck Royer 2020-12-15 16:49:38 +11:00
parent 53d13330c2
commit 84bec0631b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ mod message0;
mod message1;
mod message2;
mod message3;
mod negotiate;
mod steps;
pub mod swap;
pub type Swarm = libp2p::Swarm<Behaviour>;

View File

@ -3,7 +3,7 @@
use crate::{
alice::{
event_loop::EventLoopHandle,
negotiate::{
steps::{
build_bitcoin_punish_transaction, build_bitcoin_redeem_transaction,
extract_monero_private_key, lock_xmr, negotiate, publish_bitcoin_punish_transaction,
publish_bitcoin_redeem_transaction, publish_cancel_transaction,