We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54408eb commit f8fbc34Copy full SHA for f8fbc34
core/src/miner/mem_pool.rs
@@ -907,7 +907,7 @@ impl MemPool {
907
}
908
true
909
})
910
- .filter(|t| range.start <= t.inserted_timestamp && t.inserted_timestamp < range.end)
+ .filter(|t| range.contains(&t.inserted_timestamp))
911
.take_while(|t| {
912
let encoded_byte_array: Vec<u8> = rlp::encode(&t.tx).into_vec();
913
let size_in_byte = encoded_byte_array.len();
@@ -935,7 +935,7 @@ impl MemPool {
935
.get(&t.hash)
936
.expect("All transactions in `current` and `future` are always included in `by_hash`")
937
938
939
.count()
940
941
0 commit comments