Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed May 25, 2023
1 parent e48a5f0 commit a88d4b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::io::{import_from_safes_binary, read_edges_binary, read_edges_csv};
use crate::types::edge::EdgeDB;
use crate::types::{Address, Edge, U256};
use json::JsonValue;
use num_bigint::BigUint;
use std::error::Error;
use std::fmt::{Debug, Display, Formatter};
use std::io::Read;
Expand All @@ -13,7 +14,6 @@ use std::str::FromStr;
use std::sync::mpsc::TrySendError;
use std::sync::{mpsc, Arc, Mutex, RwLock};
use std::thread;
use num_bigint::BigUint;

struct JsonRpcRequest {
id: JsonValue,
Expand Down Expand Up @@ -171,7 +171,8 @@ fn compute_transfer(
if parsed_value_param > U256::MAX.into() {
return Err(Box::new(InputValidationError(format!(
"Value {} is too large. Maximum value is {}.",
parsed_value_param, U256::MAX
parsed_value_param,
U256::MAX
))));
}

Expand Down

0 comments on commit a88d4b4

Please sign in to comment.