Skip to content

Commit

Permalink
fix: Run migrate ckb node data is undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanguoyu committed Nov 14, 2023
1 parent e167623 commit ea87125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neuron-wallet/src/services/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class SettingsService extends Store {
ckbDataPath: path.resolve(app.getPath('userData'), 'chains/mainnet'),
})
)
if (!this.getNodeDataPath(LIGHT_CLIENT_MAINNET)) {
if (!this.getNodeDataPath(LIGHT_CLIENT_MAINNET) || !this.getNodeDataPath('ckb')) {
this.migrateDataPath()
}
}
Expand Down

1 comment on commit ea87125

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 6859054717

Please sign in to comment.