Skip to content

Commit

Permalink
use hex::encode
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Jan 12, 2025
1 parent f08fc70 commit 7fadc90
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmd/db-exporter/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand Down

0 comments on commit 7fadc90

Please sign in to comment.