diff --git a/demos/rust-cosmos-broadcaster-client/src/commands/commands.rs b/demos/rust-cosmos-broadcaster-client/src/commands/commands.rs index 477087dd47..18348a1e0f 100644 --- a/demos/rust-cosmos-broadcaster-client/src/commands/commands.rs +++ b/demos/rust-cosmos-broadcaster-client/src/commands/commands.rs @@ -66,7 +66,7 @@ pub async fn offline_sign(mnemonic: bip39::Mnemonic, to: AccountId) -> String { } -pub async fn send_tx(base58_tx: String) -> Option> /*String*/ { +pub async fn send_tx(base58_tx: String, sp_address: String) -> Option> /*String*/ { // 1. decode base58 -> vec println!("this is where we decode the base58 string"); @@ -80,8 +80,6 @@ pub async fn send_tx(base58_tx: String) -> Option { + Some(Commands::SendTx(SendTx { base58_payload, sp_address} )) => { todo!(); } None => {println!("no command specified - nothing to do")}