Skip to content

Commit 0db4115

Browse files
committed
chore: minor changes from review
1 parent 2f7cdb2 commit 0db4115

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stacks-common/src/util/lru_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl<K: Display, V: Display> Display for Node<K, V> {
4040
}
4141
}
4242

43-
/// LRU cache for account nonces
43+
/// LRU cache
4444
pub struct LruCache<K, V> {
4545
capacity: usize,
4646
/// Map from address to an offset in the linked list

stackslib/src/chainstate/stacks/tests/block_construction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5031,7 +5031,7 @@ fn paramaterized_mempool_walk_test(
50315031
#[test]
50325032
/// Test that the mempool walk query ignores old nonces and prefers next possible nonces before higher global fees.
50335033
fn mempool_walk_test_next_nonce_with_highest_fee_rate_strategy() {
5034-
let key_address_pairs: Vec<(Secp256k1PrivateKey, StacksAddress)> = (0..7)
5034+
let key_address_pairs: Vec<_> = (0..7)
50355035
.map(|_user_index| {
50365036
let privk = StacksPrivateKey::random();
50375037
let addr = StacksAddress::from_public_keys(

0 commit comments

Comments
 (0)