Skip to content

Commit 225616a

Browse files
committed
yarn fix lint
1 parent da9d7be commit 225616a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

integrations/cointoss/src/walletService.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,12 @@ export class WalletService implements AgentWallet {
351351
}
352352
}
353353

354-
onRampURL(amount: number, address: string): string | undefined {
354+
async onRampURL(
355+
amount: number,
356+
address: string,
357+
): Promise<string | undefined> {
355358
if (!appId) return undefined;
356-
357-
const onRampURL = generateOnRampURL({
359+
const onRampURL = await generateOnRampURL({
358360
appId: appId,
359361
presetCryptoAmount: Number(amount),
360362
addresses: {

0 commit comments

Comments
 (0)