diff --git a/hyperfuel-client/src/lib.rs b/hyperfuel-client/src/lib.rs index 3a85b28..3ddf02f 100644 --- a/hyperfuel-client/src/lib.rs +++ b/hyperfuel-client/src/lib.rs @@ -480,7 +480,7 @@ fn add_selections_to_field_selection(query: &mut Query) -> Query { } // first sort by block height, then by receipt_index -fn sort_receipts(receipts: &mut Vec) { +fn sort_receipts(receipts: &mut [Receipt]) { receipts.sort_by(|a, b| { a.block_height .cmp(&b.block_height)