Display actual account length (#15875)

This commit is contained in:
Jack May 2021-03-15 14:17:56 -07:00 committed by GitHub
parent 699888dfb3
commit 60e5fd11c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ fn debug_fmt<T: ReadableAccount>(item: &T, f: &mut fmt::Formatter<'_>) -> fmt::R
f,
"Account {{ lamports: {} data.len: {} owner: {} executable: {} rent_epoch: {}{} }}",
item.lamports(),
data_len,
item.data().len(),
item.owner(),
item.executable(),
item.rent_epoch(),