Skip to content

Commit 22466dd

Browse files
committed
style:cargo clippy
1 parent de9ee48 commit 22466dd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

crates/tap-agent/src/agent/sender_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@ pub mod tests {
11641164
(mock_ecrow_subgraph_server, _mock_ecrow_subgraph)
11651165
}
11661166

1167+
#[allow(clippy::too_many_arguments)]
11671168
async fn create_sender_account(
11681169
pgpool: PgPool,
11691170
initial_allocation: HashSet<Address>,

crates/tap-agent/src/agent/sender_accounts_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,8 @@ mod tests {
697697
) {
698698
let config = get_config();
699699
let (_allocations_tx, allocations_rx) = watch::channel(HashMap::new());
700-
let escrow_subgraph = get_subgraph_client(Some(escrow_subgraph).unwrap_or(None)).await;
701-
let network_subgraph = get_subgraph_client(Some(network_subgraph).unwrap_or(None)).await;
700+
let escrow_subgraph = get_subgraph_client(escrow_subgraph).await;
701+
let network_subgraph = get_subgraph_client(network_subgraph).await;
702702
let (escrow_accounts_tx, escrow_accounts_rx) = watch::channel(EscrowAccounts::default());
703703
escrow_accounts_tx
704704
.send(EscrowAccounts::new(

crates/tap-agent/src/agent/sender_allocation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ pub mod tests {
971971
sender_aggregator,
972972
config: super::AllocationConfig {
973973
timestamp_buffer_ns: 1,
974-
rav_request_receipt_limit: rav_request_receipt_limit,
974+
rav_request_receipt_limit,
975975
indexer_address: INDEXER.1,
976976
escrow_polling_interval: Duration::from_millis(1000),
977977
},

0 commit comments

Comments
 (0)