mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Correctly format SS58-prefixed addresses in the CLI (#845)
* Fix SS58 formatting of addresses. * cargo fmt --all * Use only lifetime hint. * Update relays/bin-substrate/src/cli.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Remove unnecessary optimisation. * Add re-formatting test. * cargo fmt --all Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
This commit is contained in:
committed by
Bastian Köcher
parent
4e4e9a8e4e
commit
bc50fa6616
@@ -18,7 +18,7 @@
|
||||
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use relay_utils::initialize::initialize_relay;
|
||||
use relay_utils::initialize::initialize_logger;
|
||||
|
||||
mod cli;
|
||||
mod finality_pipeline;
|
||||
@@ -31,7 +31,7 @@ mod messages_target;
|
||||
mod rialto_millau;
|
||||
|
||||
fn main() {
|
||||
initialize_relay();
|
||||
initialize_logger(false);
|
||||
let command = cli::parse_args();
|
||||
let run = command.run();
|
||||
let result = async_std::task::block_on(run);
|
||||
|
||||
Reference in New Issue
Block a user