on master help sign in
feat: add note about rebooting arvo after network key change
f2e6adfMatt Condon (shrugs)
src/views/Admin/AdminNetworkingKeys.js+4−3
@@ -30,6 +30,8 @@ import { formatDotsWithTime } from 'lib/dateFormat';
30import useEthereumTransaction from 'lib/useEthereumTransaction';
30import useEthereumTransaction from 'lib/useEthereumTransaction';
31import { GAS_LIMITS } from 'lib/constants';
31import { GAS_LIMITS } from 'lib/constants';
32import { addHexPrefix } from 'lib/wallet';
32import { addHexPrefix } from 'lib/wallet';
33+import { useHexInput, useCheckboxInput } from 'lib/useInputs';
34+import useKeyfileGenerator from 'lib/useKeyfileGenerator';
33
35
34import ViewHeader from 'components/ViewHeader';
36import ViewHeader from 'components/ViewHeader';
35import MiniBackButton from 'components/MiniBackButton';
37import MiniBackButton from 'components/MiniBackButton';
@@ -38,8 +40,6 @@ import FooterButton from 'components/FooterButton';
38import DownloadKeyfileButton from 'components/DownloadKeyfileButton';
40import DownloadKeyfileButton from 'components/DownloadKeyfileButton';
39import InlineEthereumTransaction from 'components/InlineEthereumTransaction';
41import InlineEthereumTransaction from 'components/InlineEthereumTransaction';
40import NoticeBox from 'components/NoticeBox';
42import NoticeBox from 'components/NoticeBox';
41−import { useHexInput, useCheckboxInput } from 'lib/useInputs';
42−import useKeyfileGenerator from 'lib/useKeyfileGenerator';
43
43
44const chainKeyProp = name => d =>
44const chainKeyProp = name => d =>
45 d[name] === CURVE_ZERO_ADDR ? Nothing() : Just(d[name]);
45 d[name] === CURVE_ZERO_ADDR ? Nothing() : Just(d[name]);
@@ -330,7 +330,8 @@ export default function AdminNetworkingKeys() {
330 {completed && (
330 {completed && (
331 <>
331 <>
332 <Grid.Item full as={NoticeBox} className="mb3">
332 <Grid.Item full as={NoticeBox} className="mb3">
333− You need this keyfile to authenticate with Arvo.
333+ You need this keyfile to authenticate with Arvo. If you have
334+ already booted Arvo, reboot with this new keyfile.
334 </Grid.Item>
335 </Grid.Item>
335 <Grid.Item full as={DownloadKeyfileButton} solid {...keyfileBind} />
336 <Grid.Item full as={DownloadKeyfileButton} solid {...keyfileBind} />
336 </>
337 </>