Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony1060 committed Jan 18, 2024
1 parent 8830a7c commit 0dbc30a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions server/src/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
#[allow(non_snake_case)]
pub mod IResolver {
use ethers::prelude::abigen;

abigen!(Resolver, "./src/abi/resolver.json");
}

// Universal Resolver (0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62)
#[allow(non_snake_case)]
pub mod UResolver {
use ethers::prelude::abigen;

abigen!(UniversalResolver, "./src/abi/universal_resolver.json");
}
6 changes: 3 additions & 3 deletions server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ async fn main() {
let shutdown_clone = shutdown_signal.clone();

let port: u16 = env::var("PORT")
.unwrap_or_else(|_| "3000".to_string())
.parse()
.expect("PORT must be a number");
.unwrap_or_else(|_| "3000".to_string())
.parse()
.expect("PORT should be a number");

let server_future = async move {
let http_result = http::setup(state).listen(port, shutdown_clone).await;
Expand Down

0 comments on commit 0dbc30a

Please sign in to comment.