Skip to content

Commit 6919186

Browse files
committed
chore(agent): fix sender account task parameters
Signed-off-by: Joseph Livesey <[email protected]>
1 parent b7e5d00 commit 6919186

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,17 @@ impl SenderAccountTask {
9999
sender: Address,
100100
config: &'static SenderAccountConfig,
101101
pgpool: sqlx::PgPool,
102-
_escrow_accounts: Receiver<EscrowAccounts>,
103-
_escrow_subgraph: &'static SubgraphClient,
104-
_network_subgraph: &'static SubgraphClient,
105-
_domain_separator: Eip712Domain,
106-
_sender_aggregator_endpoint: reqwest::Url,
102+
#[cfg_attr(any(test, feature = "test"), allow(unused_variables))] escrow_accounts: Receiver<
103+
EscrowAccounts,
104+
>,
105+
#[cfg_attr(any(test, feature = "test"), allow(unused_variables))]
106+
escrow_subgraph: &'static SubgraphClient,
107+
#[cfg_attr(any(test, feature = "test"), allow(unused_variables))]
108+
network_subgraph: &'static SubgraphClient,
109+
#[cfg_attr(any(test, feature = "test"), allow(unused_variables))]
110+
domain_separator: Eip712Domain,
111+
#[cfg_attr(any(test, feature = "test"), allow(unused_variables))]
112+
sender_aggregator_endpoint: reqwest::Url,
107113
prefix: Option<String>,
108114
) -> Result<TaskHandle<SenderAccountMessage>> {
109115
// Create a separate channel for parent-child communication

0 commit comments

Comments
 (0)