diff --git a/apps/src/lib/client/tx.rs b/apps/src/lib/client/tx.rs index cbb1465891..3a53b35c1f 100644 --- a/apps/src/lib/client/tx.rs +++ b/apps/src/lib/client/tx.rs @@ -768,10 +768,12 @@ pub async fn submit_become_validator( &wallet.find_key_by_pk(&consensus_key, None).expect( "unable to find consensus key pair in the wallet", ), - ).unwrap(); + ) + .unwrap(); // To avoid wallet deadlocks in following operations drop(wallet); - tendermint_node::write_validator_state(tendermint_home).unwrap(); + tendermint_node::write_validator_state(tendermint_home) + .unwrap(); // Write Namada config stuff or figure out how to do the above // tendermint_node things two epochs in the future!!! diff --git a/tests/src/e2e/ledger_tests.rs b/tests/src/e2e/ledger_tests.rs index 9fff11c135..948ee2fd64 100644 --- a/tests/src/e2e/ledger_tests.rs +++ b/tests/src/e2e/ledger_tests.rs @@ -3598,7 +3598,8 @@ fn change_consensus_key() -> Result<()> { namada_apps::node::ledger::tendermint_node::write_validator_key( cometbft_dir, &new_sk, - ); + ) + .unwrap(); println!( "{}", "Done setting up the new validator consensus key in CometBFT.".blue()