Skip to content

Commit

Permalink
Amend comment in genesis sign txs
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Aug 20, 2024
1 parent 60b154c commit 72658dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/apps_lib/src/config/genesis/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,10 @@ pub struct GenesisValidatorData {
pub name: Option<String>,
}

/// Panics if given `txs.validator_accounts` is not empty, because validator
/// transactions must be signed with a validator wallet (see
/// `init-genesis-validator` command).
/// Sign all genesis transactions.
///
/// Panics if the given `txs.validator_accounts` is non-empty and
/// `validator_wallet` is `None`.
pub async fn sign_txs(
txs: UnsignedTransactions,
wallet: &RwLock<Wallet<CliWalletUtils>>,
Expand Down

0 comments on commit 72658dc

Please sign in to comment.