Skip to content

Commit

Permalink
remove mock sep 24 second response
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Sep 23, 2024
1 parent 37304c5 commit f78ae4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const config = {
projectId: '299fda67fbf3b60a31ba8695524534cd',
},
test: {
mockSep24: true,
mockSep24: false,
overwriteMinimumTransferAmount: false,
},
telegramUrl: 'https://t.me/+Lq-sxfXBNIQ5YzRl',
Expand Down
4 changes: 2 additions & 2 deletions src/services/anchor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ export async function sep24Second(

if (config.test.mockSep24) {
// sleep 15 seconds, mock user completion of KYC
await new Promise((resolve) => setTimeout(resolve, 150000000));
await new Promise((resolve) => setTimeout(resolve, 150000));
return {
amount: sessionParams.offrampAmount,
memo: 'MYK1722323689',
memoType: 'text',
offrampingAccount: "GSAPDFASJFPASFOKNASOFKNAS",
offrampingAccount: 'GSAPDFASJFPASFOKNASOFKNAS',
};
}

Expand Down

0 comments on commit f78ae4c

Please sign in to comment.