From 5282a4f33cf0bafb97a5d49624e78db80632c4cb Mon Sep 17 00:00:00 2001 From: djordon Date: Thu, 26 Sep 2024 10:25:13 -0400 Subject: [PATCH] Forgot to change generic variable used. --- signer/src/stacks/contracts.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/signer/src/stacks/contracts.rs b/signer/src/stacks/contracts.rs index 7df8c210..1d1d3e0d 100644 --- a/signer/src/stacks/contracts.rs +++ b/signer/src/stacks/contracts.rs @@ -287,14 +287,14 @@ impl AsContractCall for CompleteDepositV1 { /// fortunate, because even if we wanted to, the only view into the /// stacks-core mempool is through the `POST /new_mempool_tx` webhooks, /// which we do not currently ingest. - async fn validate(&self, db: &S, req_ctx: &ReqContext) -> Result<(), Error> + async fn validate(&self, ctx: &C, req_ctx: &ReqContext) -> Result<(), Error> where - S: Context + Send + Sync, + C: Context + Send + Sync, { // Covers points 3 & 4 - self.validate_sweep_tx(db, req_ctx).await?; + self.validate_sweep_tx(ctx, req_ctx).await?; // Covers points 1-2 & 5-7 - self.validate_deposit_vars(db, req_ctx).await + self.validate_deposit_vars(ctx, req_ctx).await } }