fixup! Dedicated quote websocket

This commit is contained in:
Daniel Karzel 2021-06-04 15:43:20 +10:00
parent a35620d6ba
commit bd943e6961
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E

View File

@ -14,6 +14,8 @@ pub async fn setup_quote_websocket(
min: bitcoin::Amount, min: bitcoin::Amount,
max: bitcoin::Amount, max: bitcoin::Amount,
) { ) {
tracing::info!("Setting up Quote Websocket on port {}", port);
let latest_quote = warp::get() let latest_quote = warp::get()
.and(warp::path!("api" / "quote" / "xmr-btc")) .and(warp::path!("api" / "quote" / "xmr-btc"))
.and(warp::ws()) .and(warp::ws())