Skip to content

Commit

Permalink
Revert commented out code in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Nov 16, 2023
1 parent e787680 commit 768cd5c
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions examples/v2_get_instances_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,22 @@ async fn main() -> anyhow::Result<()> {
let ia = ia?;
let ii = client.get_instance_info(ia, &block).await?;
match ii.response {
InstanceInfo::V0 { model, .. } => {
InstanceInfo::V0 {
model,
owner,
amount,
name,
..
} => {
total_state_size += model.len();
// println!(
// "{}, V0, {}, {}, {}, {}",
// ia,
// model.len(),
// owner,
// amount,
// String::from(name)
// );
println!(
"{}, V0, {}, {}, {}, {}",
ia,
model.len(),
owner,
amount,
String::from(name)
);
}
InstanceInfo::V1 {
owner,
Expand Down

0 comments on commit 768cd5c

Please sign in to comment.