Skip to content

Commit

Permalink
Add comments to faucet state
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd committed May 31, 2024
1 parent 15c3a81 commit 0a2aff6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/faucet/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ use tracing::info;

use crate::{client::FaucetClient, config::FaucetConfig, errors::FaucetError};

// FAUCET STATE
// ================================================================================================

/// Stores the client and aditional information needed to handle requests.
///
/// The state is passed to every mint transaction request so the client is
/// shared between handler threads.
#[derive(Clone)]
pub struct FaucetState {
pub id: AccountId,
Expand Down

0 comments on commit 0a2aff6

Please sign in to comment.