Implemented Alice transition from Started to Negotiated

This commit is contained in:
Franck Royer 2020-11-17 10:24:59 +11:00 committed by rishflab
parent 0fe5131a8a
commit c4cd64d134
4 changed files with 109 additions and 33 deletions

View file

@ -74,7 +74,7 @@ async fn swap() {
));
let bob_xmr_wallet = Arc::new(swap::monero::Wallet(monero.wallet("bob").unwrap().client()));
let alice_behaviour = alice::Alice::default();
let alice_behaviour = alice::Behaviour::default();
let alice_transport = build(alice_behaviour.identity()).unwrap();
let db = Database::open(std::path::Path::new("../.swap-db/")).unwrap();