Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function initWalletAndClient() {
_walletClient = new WalletClient(walletOptions);
_wallet = await _walletClient.wallet(config.get("wallet-id"));
_client = new NodeClient(clientOptions);
_nomenclate = new NomenclateClient(nomenclateOptions);
await _client.open();
await _walletClient.open();
await _wallet.open();
await _nomenclate.open();
}
async function initWalletAndClient() {
_walletClient = new WalletClient(walletOptions);
_wallet = await _walletClient.wallet(config.get("wallet-id"));
_client = new NodeClient(clientOptions);
_nomenclate = new NomenclateClient(nomenclateOptions);
await _client.open();
await _walletClient.open();
await _wallet.open();
await _nomenclate.open();
}