diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index 8ebd6d4b33778e..7ae39975545ff2 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -1823,7 +1823,7 @@ fn main() { if print_bank_hash { let slot_bank_hash = SlotBankHash { slot: working_bank.slot(), - hash: working_bank.hash(), + hash: working_bank.hash().to_string(), }; println!("{}", output_format.formatted_string(&slot_bank_hash)); } diff --git a/ledger-tool/src/output.rs b/ledger-tool/src/output.rs index 1284d653209547..7ee2e7b2f5372d 100644 --- a/ledger-tool/src/output.rs +++ b/ledger-tool/src/output.rs @@ -105,7 +105,7 @@ impl Display for SlotBounds<'_> { #[serde(rename_all = "camelCase")] pub struct SlotBankHash { pub slot: Slot, - pub hash: Hash, + pub hash: String, } impl VerboseDisplay for SlotBankHash {}