Skip to content

Commit 2a52c46

Browse files
committed
fix: simplify output formatting for latest hashchain
1 parent 05eb850 commit 2a52c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newcli/src/command/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ async fn handle_get_latest_hashchain(context: &Context) -> anyhow::Result<()> {
14951495
let latest_hashchain = near::get_latest_hashchain(context).await?;
14961496
output!(
14971497
&context.cli.output_format,
1498-
result_object!("latest_hashchain" => format!("{:?}", latest_hashchain.to_string()))
1498+
result_object!("latest_hashchain" => latest_hashchain.to_string())
14991499
);
15001500
Ok(())
15011501
}

0 commit comments

Comments
 (0)