Skip to content

Commit

Permalink
uses u16::MAX instead of usize::MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Oct 11, 2023
1 parent 24fd0be commit e29fb45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl ZebraDb {

let last_transaction_location = AddressTransaction::new(
address_location,
TransactionLocation::from_usize(*query_height_range.end(), usize::MAX),
TransactionLocation::from_usize(*query_height_range.end(), u16::MAX.into()),
);

self.zs_range_iter(

Check failure on line 250 in zebra-state/src/service/finalized_state/zebra_db/transparent.rs

View workflow job for this annotation

GitHub Actions / Build zebra-consensus crate

no method named `zs_range_iter` found for reference `&ZebraDb` in the current scope
Expand Down

0 comments on commit e29fb45

Please sign in to comment.