fix encoding

This commit is contained in:
Conrado Gouvea 2023-05-31 09:44:36 -03:00
parent 3227d875f7
commit 38c42aceb5
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ fn main() -> anyhow::Result<()> {
let tx = build_tx(&network, &keys, &tx_plan, false, OsRng)?;
fs::write(out_filename, hex::encode(&tx))?;
fs::write(out_filename, base64::encode(&tx))?;
println!("Tx written to {}", out_filename);
Ok(())