Skip to content

Commit

Permalink
refactor(iota-faucet): use consts in FaucetConfig::default()
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Oct 29, 2024
1 parent 83f0483 commit b93b44a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/iota-faucet/src/faucet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ impl Default for FaucetConfig {
Self {
port: 5003,
host_ip: Ipv4Addr::new(127, 0, 0, 1),
amount: 1_000_000_000,
num_coins: 1,
amount: DEFAULT_AMOUNT,
num_coins: DEFAULT_NUM_OF_COINS,
request_buffer_size: 10,
max_request_per_second: 10,
wallet_client_timeout_secs: 60,
Expand Down

0 comments on commit b93b44a

Please sign in to comment.