Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunOnFluxBot committed Oct 29, 2024
1 parent bd8152c commit a23bfa0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions services/fluxNetworkHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,9 +989,15 @@ async function checkDeterministicNodesCollisions() {
checkDeterministicNodesCollisions();
}, 60 * 1000);
return;
} if (getDosMessage().includes('is confirmed and reachable on flux network')) {
dosState = 0;
setDosMessage(null);
}
if (getDosMessage().includes('is confirmed and reachable on flux network')) {
errorCall = false;
await serviceHelper.delay(60 * 1000); // 60s await to double check the other machine is really offline or it just restarted or restarted fluxOs
await serviceHelper.axiosGet(`http://${askingIP}:${askingIpPort}/flux/version`, axiosConfig).catch(errorCall = true);
if (errorCall) {
dosState = 0;
setDosMessage(null);
}
}
const daemonResult = await daemonServiceWalletRpcs.createConfirmationTransaction();
log.info(`createConfirmationTransaction: ${JSON.stringify(daemonResult)}`);
Expand Down

0 comments on commit a23bfa0

Please sign in to comment.