From bc4b4196f47e7cf4c305b47c00cc4ed49ed81683 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Tue, 22 Oct 2024 10:54:05 +0200 Subject: [PATCH] make sending checks less strict --- wallets/blink/client.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wallets/blink/client.js b/wallets/blink/client.js index 0f2e6d01..fd438a6b 100644 --- a/wallets/blink/client.js +++ b/wallets/blink/client.js @@ -1,4 +1,4 @@ -import { getScopes, SCOPE_READ, SCOPE_RECEIVE, SCOPE_WRITE, getWallet, request } from 'wallets/blink/common' +import { getScopes, SCOPE_READ, SCOPE_WRITE, getWallet, request } from 'wallets/blink/common' export * from 'wallets/blink' export async function testSendPayment ({ apiKey, currency }, { logger }) { @@ -10,9 +10,6 @@ export async function testSendPayment ({ apiKey, currency }, { logger }) { if (!scopes.includes(SCOPE_WRITE)) { throw new Error('missing WRITE scope') } - if (scopes.includes(SCOPE_RECEIVE)) { - throw new Error('RECEIVE scope must not be present') - } currency = currency ? currency.toUpperCase() : 'BTC' await getWallet(apiKey, currency)