From f6fba79b912eb68cb4e4691c7dd58ef53bb9bc84 Mon Sep 17 00:00:00 2001 From: eauxxs Date: Mon, 29 Apr 2024 13:04:25 +0800 Subject: [PATCH] cli: fix transfer print psbt version --- cli/src/command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/command.rs b/cli/src/command.rs index 7a176c2..3f17a74 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -763,8 +763,8 @@ impl Exec for RgbArgs { psbt.encode(ver, &mut psbt_file)?; } None => match ver { - PsbtVer::V0 => println!("{psbt}"), - PsbtVer::V2 => println!("{psbt:#}"), + PsbtVer::V0 => println!("{psbt:0}"), + PsbtVer::V2 => println!("{psbt:2}"), }, } Some(runtime.into_stock())