From 48349b5e83b87b8ee008a47dfefd1a5408e123c1 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 14 May 2019 16:58:09 -0400 Subject: [PATCH] Make cli use multisig by default --- src/index.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/index.ts b/src/index.ts index ff02f52..359493d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ const createUser = async (config: any) : Promise => { config.dappchainPrivateKey, config.chainId, config.loomGatewayEthAddress, - GatewayVersion.SINGLESIG + GatewayVersion.MULTISIG ); } @@ -112,20 +112,6 @@ program // DPOS BINDINGS -program - .command("map-accounts") - .description("Connects the user's eth/dappchain addresses") - .action(async function() { - const user = await createUser(config) - try { - console.log('trying to map acc') - await user.mapAccountsAsync(); - console.log('mapped acc') - } catch (err) { - console.error(err); - } - }); - program .command("map-accounts") .description("Connects the user's eth/dappchain addresses")