Display actual account length (#15875)
This commit is contained in:
parent
699888dfb3
commit
60e5fd11c9
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user