From 7fadc906df183467f8ea4eeb6c723b4ef643f4d9 Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Sun, 12 Jan 2025 19:25:17 +0800 Subject: [PATCH] use hex::encode --- cmd/db-exporter/src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/db-exporter/src/main.rs b/cmd/db-exporter/src/main.rs index 1dee185e28..833124fbf0 100644 --- a/cmd/db-exporter/src/main.rs +++ b/cmd/db-exporter/src/main.rs @@ -2740,8 +2740,12 @@ fn tokens_info( for (account, state, blob, account_proof, account_state_proof) in state_proof_list { writeln!( file, - "{} {:?} {:?} {:?} {:?}", - account, state, blob, account_proof, account_state_proof + "{} {} {} {} {}", + account, + hex::encode(state), + hex::encode(blob), + hex::encode(account_proof), + hex::encode(account_state_proof) )?; } file.flush()?;