Skip to content

Commit

Permalink
Merge pull request #3673 from anoma/tiago/amend-comment-genesis-sign-txs
Browse files Browse the repository at this point in the history
Amend comment in genesis sign txs
  • Loading branch information
mergify[bot] committed Aug 20, 2024
2 parents b7d2db3 + 72658dc commit d95bfbc
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 d95bfbc

Please sign in to comment.