From 8a0330b4932ccbc9c042c64fdaef915ce4cb87b8 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Wed, 5 Jul 2023 09:28:21 +0200 Subject: [PATCH] push to share --- demos/rust-cosmos-broadcaster-client/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/rust-cosmos-broadcaster-client/src/main.rs b/demos/rust-cosmos-broadcaster-client/src/main.rs index 551f09c7c4..c3d7e07a47 100644 --- a/demos/rust-cosmos-broadcaster-client/src/main.rs +++ b/demos/rust-cosmos-broadcaster-client/src/main.rs @@ -34,7 +34,7 @@ enum Commands { #[derive(Debug, Clone, Args)] struct OfflineSignTx { - /// mnemonic of signing + sending account (you!) - this will be removed and replaced with file + /// mnemonic of signing + sending account (you!) - TODO this will be removed and replaced with file mnemonic: bip39::Mnemonic, /// recipient nyx chain address to: AccountId @@ -56,9 +56,9 @@ async fn main() { match &cli.command { Some(Commands::OfflineSignTx(OfflineSignTx { mnemonic, to } )) => { tx_bytes = commands::commands::offline_sign(mnemonic.clone(), to.clone()).await; - - println!("{:?}", tx_bytes.iter().collect::>()); + println!("{:?}", &tx_bytes.iter().collect::>()); println!("signed"); + // TODO write to disk for use in next function? } Some(Commands::SendTx(sp_address)) => { todo!();