on master help sign in
invites: use invite wallet when configuring keys
commitb5f5bdcd6927a6a72da319c2f2606716c7f08ffa authoryosoyubik <yosoyubik@gmail.com> dateMon 27 Sep 2021, 06:35 (5 years ago) parent479879e
1 file changed+3−8
src/lib/useRoller.ts+3−8
src/lib/useRoller.ts+3−8
@@ -64,7 +64,7 @@ function isShipNumber(ship: number | string | undefined): ship is number {
6464}
6565
6666export default function useRoller() {
67− const { wallet, authToken, authMnemonic, urbitWallet }: any = useWallet();
67+ const { wallet, authToken, authMnemonic }: any = useWallet();
6868 const { pointCursor }: any = usePointCursor();
6969 const { web3, contracts }: any = useNetwork();
7070 const allPoints: any = usePointCache();
@@ -185,7 +185,7 @@ export default function useRoller() {
185185 planet,
186186 _authToken
187187 );
188− console.log(inviteWallet);
188+
189189 const spawnRequest = await spawn(
190190 api,
191191 _wallet,
@@ -202,11 +202,7 @@ export default function useRoller() {
202202 planet,
203203 operator.proxy!,
204204 0,
205− _details,
206− authToken,
207− authMnemonic,
208− wallet,
209− urbitWallet
205+ inviteWallet
210206 );
211207
212208 const setManagementProxyRequest = await setSpawnProxy(
@@ -260,7 +256,6 @@ export default function useRoller() {
260256 web3,
261257 getDetails,
262258 authMnemonic,
263− urbitWallet,
264259 nonces,
265260 increaseNonce,
266261 ]