Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 committed Aug 22, 2024
1 parent 78cc2e2 commit b84f4ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/routes/paymaster-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ const paymasterRoutes: FastifyPluginAsync = async (server) => {
}
sponsorName = apiKeyEntity.sponsorName ? apiKeyEntity.sponsorName : '';
sponsorImage = apiKeyEntity.logoUrl ? apiKeyEntity.logoUrl : '';
// privateKey = decode(apiKeyEntity.privateKey, server.config.HMAC_SECRET);
privateKey = apiKeyEntity.privateKey;
privateKey = decode(apiKeyEntity.privateKey, server.config.HMAC_SECRET);
supportedNetworks = apiKeyEntity.supportedNetworks;
noOfTxns = apiKeyEntity.noOfTransactionsInAMonth;
txnMode = apiKeyEntity.transactionLimit;
Expand Down

0 comments on commit b84f4ab

Please sign in to comment.