on master help sign in
invites: use invite wallet when configuring keys
b5f5bdcyosoyubik
src/lib/useRoller.ts+3−8
@@ -64,7 +64,7 @@ function isShipNumber(ship: number | string | undefined): ship is number {
64}
64}
65
65
66export default function useRoller() {
66export default function useRoller() {
67− const { wallet, authToken, authMnemonic, urbitWallet }: any = useWallet();
67+ const { wallet, authToken, authMnemonic }: any = useWallet();
68 const { pointCursor }: any = usePointCursor();
68 const { pointCursor }: any = usePointCursor();
69 const { web3, contracts }: any = useNetwork();
69 const { web3, contracts }: any = useNetwork();
70 const allPoints: any = usePointCache();
70 const allPoints: any = usePointCache();
@@ -185,7 +185,7 @@ export default function useRoller() {
185 planet,
185 planet,
186 _authToken
186 _authToken
187 );
187 );
188− console.log(inviteWallet);
188+
189 const spawnRequest = await spawn(
189 const spawnRequest = await spawn(
190 api,
190 api,
191 _wallet,
191 _wallet,
@@ -202,11 +202,7 @@ export default function useRoller() {
202 planet,
202 planet,
203 operator.proxy!,
203 operator.proxy!,
204 0,
204 0,
205− _details,
205+ inviteWallet
206− authToken,
207− authMnemonic,
208− wallet,
209− urbitWallet
210 );
206 );
211
207
212 const setManagementProxyRequest = await setSpawnProxy(
208 const setManagementProxyRequest = await setSpawnProxy(
@@ -260,7 +256,6 @@ export default function useRoller() {
260 web3,
256 web3,
261 getDetails,
257 getDetails,
262 authMnemonic,
258 authMnemonic,
263− urbitWallet,
264 nonces,
259 nonces,
265 increaseNonce,
260 increaseNonce,
266 ]
261 ]