Skip to content

Commit

Permalink
Make cli use multisig by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed May 14, 2019
1 parent f207e9c commit 48349b5
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const createUser = async (config: any) : Promise<DPOSUser> => {
config.dappchainPrivateKey,
config.chainId,
config.loomGatewayEthAddress,
GatewayVersion.SINGLESIG
GatewayVersion.MULTISIG
);
}

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 48349b5

Please sign in to comment.