@@ -47,13 +47,13 @@ import BodyPane from 'components/L2/Window/BodyPane';
48import './NetworkKeys.scss';
48import './NetworkKeys.scss';
49import { L1TxnType } from 'lib/types/PendingL1Transaction';
49import { L1TxnType } from 'lib/types/PendingL1Transaction';
50+import { PointField } from 'lib/types/Point';
51function useSetKeys(
52function useSetKeys(
52 manualNetworkSeed: string,
53 manualNetworkSeed: string,
53 setManualNetworkSeed: (seed: string) => void
54 setManualNetworkSeed: (seed: string) => void
55 const { urbitWallet, wallet, authMnemonic, authToken }: any = useWallet();
56 const { urbitWallet, wallet, authMnemonic, authToken }: any = useWallet();
56− const { getAndUpdatePoint } = useRoller();
57 const { point } = useRollerStore();
57 const { point } = useRollerStore();
58 const { syncDetails, syncRekeyDate }: any = usePointCache();
58 const { syncDetails, syncRekeyDate }: any = usePointCache();
59 const { contracts }: any = useNetwork();
59 const { contracts }: any = useNetwork();
@@ -127,9 +127,7 @@ function useSetKeys(
127 [_contracts, point, buildNetworkSeed]
127 [_contracts, point, buildNetworkSeed]
129 useCallback(
129 useCallback(
130− () => Promise.all([getAndUpdatePoint(point.value),
131− syncDetails(point.value),
132− syncRekeyDate(point.value)]),
130+ () => Promise.all([syncDetails(point.value), syncRekeyDate(point.value)]),
133 [point, syncDetails, syncRekeyDate]
131 [point, syncDetails, syncRekeyDate]
135 GAS_LIMITS.CONFIGURE_KEYS
133 GAS_LIMITS.CONFIGURE_KEYS
@@ -180,6 +178,7 @@ export default function UrbitOSNetworkKeys({
180 if (completed) {
178 if (completed) {
181 checkForUpdates({
179 checkForUpdates({
182 point: point,
180 point: point,
181+ field: PointField.keyRevisionNumber,
183 message: `${point.patp}'s Network Keys have been set!`,
182 message: `${point.patp}'s Network Keys have been set!`,
185 id: `${point.keyRevisionNumber}-network-keys-${point.value}`,
184 id: `${point.keyRevisionNumber}-network-keys-${point.value}`,