We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2e555 commit fda31efCopy full SHA for fda31ef
src/masterBitgoExpress/handleSendMany.ts
@@ -31,9 +31,9 @@ export async function handleSendMany(req: MasterApiSpecRouteRequest<'v1.wallet.s
31
}
32
33
// TODO: uncomment when on-prem type is added to SDK
34
- // if (wallet.type() !== 'cold' || wallet.subType() !== 'onPrem') {
35
- // throw new Error('Wallet is not an on-prem wallet');
36
- // }
+ if (wallet.type() !== 'cold' || wallet.subType() !== 'onPrem') {
+ throw new Error('Wallet is not an on-prem wallet');
+ }
37
38
const keyIdIndex = params.source === 'user' ? KeyIndices.USER : KeyIndices.BACKUP;
39
logger.info(`Key ID index: ${keyIdIndex}`);
0 commit comments