@@ -3,7 +3,7 @@ import { Invite } from 'lib/types/Invite';
33import { Just, Nothing } from 'folktale/maybe';
44import { randomHex } from 'web3-utils';
55import {
6− attemptNetworkSeedDerivation,
6+ deriveNetworkSeedFromUrbitWallet,
77 deriveNetworkKeys,
88 CRYPTO_SUITE_VERSION,
99} from 'lib/keys';
@@ -66,10 +66,6 @@ export const configureKeys = async (
6666 _point: number,
6767 proxy: string,
6868 nonce: number,
69− details: any,
70− authToken: string,
71− authMnemonic: string,
72− wallet: any,
7369 urbitWallet: any
7470) => {
7571 const from = {
@@ -77,15 +73,7 @@ export const configureKeys = async (
7773 proxy,
7874 };
7975
80− const networkSeed = await attemptNetworkSeedDerivation({
81− urbitWallet,
82− wallet,
83− authMnemonic,
84− details,
85− point: _point,
86− authToken,
87− revision: 1,
88− });
76+ const networkSeed = await deriveNetworkSeedFromUrbitWallet(urbitWallet, 1);
8977 // TODO: do something here?
9078 if (Nothing.hasInstance(networkSeed)) {
9179 console.log("Network key Error: couldn't derive network keys");