on master help sign in
generate keyfile as part of network key tx
96a4b45Liam Fitzgerald
src/views/UrbitOS/NetworkingKeys.js+2−1
@@ -52,6 +52,7 @@ function useSetKeys(manualNetworkSeed, setManualNetworkSeed) {
52
52
53 const {
53 const {
54 available: keyfileAvailable,
54 available: keyfileAvailable,
55+ generating: keyfileGenerating,
55 filename,
56 filename,
56 bind: keyfileBind,
57 bind: keyfileBind,
57 } = useKeyfileGenerator(manualNetworkSeed);
58 } = useKeyfileGenerator(manualNetworkSeed);
@@ -118,7 +119,7 @@ function useSetKeys(manualNetworkSeed, setManualNetworkSeed) {
118 );
119 );
119
120
120 // only treat the transaction as completed once we also have keys to download
121 // only treat the transaction as completed once we also have keys to download
121− const completed = _completed && keyfileAvailable;
122+ const completed = _completed && keyfileAvailable && !keyfileGenerating;
122
123
123 return {
124 return {
124 completed,
125 completed,