diff options
| -rw-r--r-- | lib/payments.ts | 2 | ||||
| -rw-r--r-- | lib/rates.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index 0ae84f10..bc209684 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -116,7 +116,7 @@ export const debit = async ({ memo, iid, uid, - confirmed: ![types.bitcoin, types.liquid].includes(type), + confirmed: true, rate, currency, type, diff --git a/lib/rates.ts b/lib/rates.ts index 5f98af42..d9ae7f8d 100644 --- a/lib/rates.ts +++ b/lib/rates.ts @@ -60,7 +60,6 @@ export const getFx = async () => { ({ rates: fx } = (await got( `http://data.fixer.io/api/latest?access_key=${config.fixer}&base=USD`, ).json()) as any); - } else { ({ fx } = (await got("https://coinos.io/api/fx").json()) as any); } |
