Skip to content

Commit

Permalink
Merge pull request #423 from urbit/stale-net-keys
Browse files Browse the repository at this point in the history
generate keyfile as part of network key tx
  • Loading branch information
Fang- authored Mar 24, 2020
2 parents 6314cef + ac0299e commit 6121696
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Admin/AdminNetworkingKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function useSetKeys() {

const {
available: keyfileAvailable,
generating: keyfileGenerating,
filename,
bind: keyfileBind,
} = useKeyfileGenerator(ndNetworkSeed);
Expand Down Expand Up @@ -133,7 +134,7 @@ function useSetKeys() {
);

// only treat the transaction as completed once we also have keys to download
const completed = _completed && keyfileAvailable;
const completed = _completed && keyfileAvailable && !keyfileGenerating;

return {
completed,
Expand Down

0 comments on commit 6121696

Please sign in to comment.