@@ -59,9 +59,12 @@ function useSetKeys() {
5959 const { pointCursor } = usePointCursor();
6060 const { syncOwnedPoint, getDetails } = usePointCache();
6161 const { contracts } = useNetwork();
62+
6263 const _point = need.point(pointCursor);
6364 const _contracts = need.contracts(contracts);
65+ const _details = need.details(getDetails(_point));
6466
67+ const networkRevision = parseInt(_details.keyRevisionNumber, 10);
6568 const randomSeed = useRef();
6669
6770 // NOTE: nd = 'nondeterministic' (can also be a 'manual' seed)
@@ -92,21 +95,21 @@ function useSetKeys() {
9295 }
9396 }, [_point, confirmed, syncOwnedPoint]);
9497
95− const getSeed = useCallback(
98+ const buildNetworkSeed = useCallback(
9699 async manualSeed => {
97− const details = need.details(getDetails(_point));
98− const networkRevision = parseInt(details.keyRevisionNumber, 10);
99−
100100 if (manualSeed !== undefined) {
101101 setNdNetworkSeed(manualSeed);
102102 return manualSeed;
103103 } else {
104+ const newNetworkRevision = networkRevision + 1;
105+ console.log(`deriving seed with revision ${newNetworkRevision}`);
106+
104107 const networkSeed = await attemptNetworkSeedDerivation({
105108 urbitWallet,
106109 wallet,
107110 authMnemonic,
108− details,
109− revision: networkRevision,
111+ details: _details,
112+ revision: newNetworkRevision,
110113 });
111114
112115 if (Just.hasInstance(networkSeed)) {
@@ -119,12 +122,12 @@ function useSetKeys() {
119122 return randomSeed.current;
120123 }
121124 },
122− [_point, authMnemonic, getDetails, urbitWallet, wallet]
125+ [_details, authMnemonic, networkRevision, urbitWallet, wallet]
123126 );
124127
125128 const construct = useCallback(
126129 async (manualSeed, isDiscontinuity) => {
127− const seed = await getSeed(manualSeed);
130+ const seed = await buildNetworkSeed(manualSeed);
128131 const pair = deriveNetworkKeys(seed);
129132
130133 const txn = azimuth.ecliptic.configureKeys(
@@ -138,7 +141,7 @@ function useSetKeys() {
138141
139142 _construct(txn);
140143 },
141− [_construct, _contracts, _point, getSeed]
144+ [_construct, _contracts, _point, buildNetworkSeed]
142145 );
143146
144147 return {