on master help sign in
generate keyfile as part of network key tx
ac0299eLiam Fitzgerald
src/views/Admin/AdminNetworkingKeys.js+2−1
@@ -74,6 +74,7 @@ function useSetKeys() {
74
74
75 const {
75 const {
76 available: keyfileAvailable,
76 available: keyfileAvailable,
77+ generating: keyfileGenerating,
77 filename,
78 filename,
78 bind: keyfileBind,
79 bind: keyfileBind,
79 } = useKeyfileGenerator(ndNetworkSeed);
80 } = useKeyfileGenerator(ndNetworkSeed);
@@ -133,7 +134,7 @@ function useSetKeys() {
133 );
134 );
134
135
135 // only treat the transaction as completed once we also have keys to download
136 // only treat the transaction as completed once we also have keys to download
136− const completed = _completed && keyfileAvailable;
137+ const completed = _completed && keyfileAvailable && !keyfileGenerating;
137
138
138 return {
139 return {
139 completed,
140 completed,