From 72658dc704e1cd573d68a83075be8f217449abfb Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Tue, 20 Aug 2024 10:54:29 +0100 Subject: [PATCH] Amend comment in genesis sign txs --- crates/apps_lib/src/config/genesis/transactions.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/apps_lib/src/config/genesis/transactions.rs b/crates/apps_lib/src/config/genesis/transactions.rs index 3239ad18e1..b0e4e4b547 100644 --- a/crates/apps_lib/src/config/genesis/transactions.rs +++ b/crates/apps_lib/src/config/genesis/transactions.rs @@ -156,9 +156,10 @@ pub struct GenesisValidatorData { pub name: Option, } -/// 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>,