Browse Source
Merge pull request #112 from comit-network/taker-msg-fix
Add missing await for the message announcing NewTakerOnline
fix-bad-api-calls
Mariusz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
4 deletions
-
daemon/src/maker.rs
|
@ -180,12 +180,13 @@ async fn main() -> Result<()> { |
|
|
tokio::spawn(in_taker_actor); |
|
|
tokio::spawn(in_taker_actor); |
|
|
tokio::spawn(out_msg_actor); |
|
|
tokio::spawn(out_msg_actor); |
|
|
|
|
|
|
|
|
maker_inc_connections_address.do_send_async( |
|
|
maker_inc_connections_address |
|
|
maker_inc_connections_actor::NewTakerOnline { |
|
|
.do_send_async(maker_inc_connections_actor::NewTakerOnline { |
|
|
taker_id, |
|
|
taker_id, |
|
|
out_msg_actor_inbox, |
|
|
out_msg_actor_inbox, |
|
|
}, |
|
|
}) |
|
|
); |
|
|
.await |
|
|
|
|
|
.unwrap(); |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|