Skip to content

Commit 44fcccb

Browse files
committed
Fixed cardano-node startup race condition
1 parent eec3e18 commit 44fcccb

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Fixes
66

7+
- Fixed cardano-node startup race condition
78
- Fixed automatic closing of the wallet "Restoration" dialog during restoration of a first wallet in UI
89
- Fixed Daedalus 4.5.0 Windows deployment issue
910

source/main/cardano/CardanoNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ export class CardanoNode {
794794
* @private
795795
*/
796796
_canBeStarted = async (): Promise<boolean> => {
797-
if (this._isConnected()) {
797+
if (this._isConnected() || this.state === CardanoNodeStates.STARTING) {
798798
return false;
799799
}
800800
try {

source/renderer/app/stores/NetworkStatusStore.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ export default class NetworkStatusStore extends Store {
172172

173173
// Setup disk space checks
174174
getDiskSpaceStatusChannel.onReceive(this._onCheckDiskSpace);
175-
this._checkDiskSpace();
176175

177176
this._getStateDirectoryPath();
178177

0 commit comments

Comments
 (0)