nicer comments for demo logging

This commit is contained in:
mfahampshire
2023-07-19 10:13:34 +02:00
parent fdb6ddccba
commit c4f1be4c9c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ async fn main() -> anyhow::Result<()> {
println!(
"Encoded response (signed tx data) as base58 for tx broadcast: \n\n{:?}\n",
&base58_tx_bytes
&base58_tx_bytes.as_ref()
);
println!("do you wish to send the tx? y/n");
@@ -31,6 +31,7 @@ async fn main() -> anyhow::Result<()> {
get_sequence(broadcaster.clone(), request.signer_address)
.await
.unwrap();
println!("sequence information query returned account number: {}, sequence:{}, chain id: {} \nsending response to requesting client via mixnet", sequence.account_number, sequence.sequence, sequence.chain_id);
// send serialised sequence response back to request sender via mixnet
client
.send_str_reply(return_recipient, &serde_json::to_string(&sequence).unwrap())