mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
clippy
This commit is contained in:
@@ -2280,7 +2280,7 @@ mod tests {
|
||||
|
||||
// Invalid/Non-existent argument should return `None`
|
||||
{
|
||||
call_method!($arg_count, provider, $method, |_,_,_,_| ($invalid_args, None), tx_num, tx_hash, &in_memory_blocks[0], &receipts);
|
||||
call_method!($arg_count, provider, $method, |_,_,_,_| ($invalid_args, None), tx_num, tx_hash, &in_memory_blocks[0], &receipts);
|
||||
}
|
||||
|
||||
// Check that the item is only in memory and not in database
|
||||
@@ -2291,7 +2291,7 @@ mod tests {
|
||||
call_method!($arg_count, provider, $method, |_,_,_,_| (args.clone(), expected_item), tx_num, tx_hash, last_mem_block, &receipts);
|
||||
|
||||
// Ensure the item is not in storage
|
||||
call_method!($arg_count, provider.database, $method, |_,_,_,_| (args, None), tx_num, tx_hash, last_mem_block, &receipts);
|
||||
call_method!($arg_count, provider.database, $method, |_,_,_,_| (args, None), tx_num, tx_hash, last_mem_block, &receipts);
|
||||
}
|
||||
)*
|
||||
}};
|
||||
|
||||
Reference in New Issue
Block a user