Skip to content

Commit

Permalink
Forgot to change generic variable used.
Browse files Browse the repository at this point in the history
  • Loading branch information
djordon committed Sep 26, 2024
1 parent 76bd8cd commit 5282a4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions signer/src/stacks/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<S>(&self, db: &S, req_ctx: &ReqContext) -> Result<(), Error>
async fn validate<C>(&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
}
}

Expand Down

0 comments on commit 5282a4f

Please sign in to comment.