mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-06 05:25:52 -05:00
Merge #518
518: Fix bug that breaks swap ID for logging r=da-kami a=da-kami Somehow I introduced this really stupid bug. Might have happened during a rebase. We create the swap id at the top of main. Creating another id here breaks the name of the swap's logfile for the CLI, because the actual swap will have another id. Should definitely go in before releasing :) Co-authored-by: Daniel Karzel <daniel@comit.network>
This commit is contained in:
commit
014388bfaa
@ -81,7 +81,6 @@ async fn main() -> Result<()> {
|
||||
.behaviour_mut()
|
||||
.add_address(seller_peer_id, seller_addr);
|
||||
|
||||
let swap_id = Uuid::new_v4();
|
||||
let (event_loop, mut event_loop_handle) = EventLoop::new(
|
||||
swap_id,
|
||||
swarm,
|
||||
|
Loading…
x
Reference in New Issue
Block a user