Skip to content

Commit

Permalink
Small todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski committed May 15, 2024
1 parent 4c63bb3 commit b9b2606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/client/src/handlers/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fn query_messages_list(
|_id, message| Ok::<_, ClientError>(message),
)?;

// TODO REMOVE, This could run out of gas
let len = map.keys(deps.storage, None, None, Order::Ascending).count();

println!(
Expand Down

0 comments on commit b9b2606

Please sign in to comment.