Skip to content

Commit 0b13300

Browse files
committed
fix default values for InitialBalanceFile and improve docs
1 parent ecba75a commit 0b13300

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stackslib/src/config/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4367,14 +4367,14 @@ pub struct InitialBalance {
43674367
#[serde(deny_unknown_fields)]
43684368
pub struct InitialBalanceFile {
43694369
/// The Stacks address to receive the initial STX balance.
4370-
/// Must be a valid Stacks address string (e.g., "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2").
4370+
/// Must be a valid "non-mainnet" Stacks address (e.g., "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2").
43714371
///
4372-
/// Default: `""`
4372+
/// Default: No default. This field is required.
43734373
pub address: String,
43744374
/// The amount of microSTX to allocate to the address at node startup.
43754375
/// 1 STX = 1_000_000 microSTX.
43764376
///
4377-
/// Default: `0`
4377+
/// Default: No default. This field is required.
43784378
pub amount: u64,
43794379
}
43804380

0 commit comments

Comments
 (0)