Browse Source

Fix formatting of imports

new-http-api
Thomas Eizinger 3 years ago
parent
commit
5f0ffd3844
No known key found for this signature in database GPG Key ID: 651AC83A6C6C8B96
  1. 10
      daemon/src/maker.rs
  2. 3
      daemon/src/taker.rs

10
daemon/src/maker.rs

@ -1,26 +1,20 @@
use anyhow::{Context, Result};
use bdk::bitcoin::secp256k1::schnorrsig;
use bdk::bitcoin::Amount;
use bdk::{bitcoin, FeeRate};
use clap::{Parser, Subcommand};
use daemon::auth::{self, MAKER_USERNAME};
use daemon::db::{self};
use daemon::model::WalletInfo;
use daemon::seed::Seed;
use daemon::{
bitmex_price_feed, housekeeping, logger, maker_cfd, maker_inc_connections, monitor, oracle,
bitmex_price_feed, db, housekeeping, logger, maker_cfd, maker_inc_connections, monitor, oracle,
wallet, wallet_sync, MakerActorSystem,
};
use sqlx::sqlite::SqliteConnectOptions;
use sqlx::SqlitePool;
use std::net::SocketAddr;
use std::path::PathBuf;
use std::str::FromStr;
use bdk::bitcoin::Amount;
use std::task::Poll;
use tokio::sync::watch;
use tracing_subscriber::filter::LevelFilter;

3
daemon/src/taker.rs

@ -3,11 +3,10 @@ use bdk::bitcoin::secp256k1::schnorrsig;
use bdk::bitcoin::{Address, Amount};
use bdk::{bitcoin, FeeRate};
use clap::{Parser, Subcommand};
use daemon::db::{self};
use daemon::model::WalletInfo;
use daemon::seed::Seed;
use daemon::{
bitmex_price_feed, connection, housekeeping, logger, monitor, oracle, taker_cfd, wallet,
bitmex_price_feed, connection, db, housekeeping, logger, monitor, oracle, taker_cfd, wallet,
wallet_sync, TakerActorSystem,
};
use sqlx::sqlite::SqliteConnectOptions;

Loading…
Cancel
Save