Skip to content

Commit

Permalink
pass erc20TokenApproveHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Oct 30, 2024
1 parent 590de0e commit 830f705
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/iden3comm/handlers/payment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,11 @@ export class PaymentHandler
break;
case PaymentRequestDataType.Iden3PaymentRailsERC20RequestV1:
payments.push(
await this.handleIden3PaymentRailsERC20RequestV1(selectedPayment, ctx.paymentHandler)
await this.handleIden3PaymentRailsERC20RequestV1(
selectedPayment,
ctx.paymentHandler,
ctx.erc20TokenApproveHandler
)
);
break;
}
Expand Down

0 comments on commit 830f705

Please sign in to comment.