Format fixes
This commit is contained in:
parent
61157dd65a
commit
0a07407546
1 changed files with 6 additions and 4 deletions
|
|
@ -3,7 +3,8 @@ use bitcoin_hashes::hex::ToHex;
|
||||||
use bitcoincash::{consensus::deserialize, Block};
|
use bitcoincash::{consensus::deserialize, Block};
|
||||||
use db::get_token_tvl;
|
use db::get_token_tvl;
|
||||||
use electrum_client::{Client, ElectrumApi, Param};
|
use electrum_client::{Client, ElectrumApi, Param};
|
||||||
use riftenlabs_defi::cauldron::{ParsedContract, parse_cauldron};
|
use rayon::prelude::*;
|
||||||
|
use riftenlabs_defi::cauldron::{parse_cauldron, ParsedContract};
|
||||||
use rocket::{
|
use rocket::{
|
||||||
get,
|
get,
|
||||||
http::Status,
|
http::Status,
|
||||||
|
|
@ -28,7 +29,6 @@ use std::{
|
||||||
thread,
|
thread,
|
||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
use rayon::prelude::*;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
chainutil::calculate_mtp,
|
chainutil::calculate_mtp,
|
||||||
|
|
@ -207,5 +207,7 @@ fn launch() -> _ {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
rocket::build().manage(conn).mount("/cauldron/", routes![tvl])
|
rocket::build()
|
||||||
|
.manage(conn)
|
||||||
|
.mount("/cauldron/", routes![tvl])
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue