This reverts commit 77f0b50fa9ddfd9997108dcf98dbb595ab31f9b9.
Issue being fixed or feature implemented
stating for the file incorrectly assumed that just because the file exists, that it would contain a configred default config, or be valid syntax for the current version of dashmate
What was done?
Replace stat with dashmate config, which will error if:
File is missing
default config is not set
file is invalid
How Has This Been Tested?
On testnet
Breaking Changes
None
Checklist:
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation
For repository code-owners and collaborators only
[x] I have assigned this pull request to a milestone
This reverts commit 77f0b50fa9ddfd9997108dcf98dbb595ab31f9b9.
Issue being fixed or feature implemented
stat
ing for the file incorrectly assumed that just because the file exists, that it would contain a configred default config, or be valid syntax for the current version of dashmateWhat was done?
Replace
stat
withdashmate config
, which will error if:How Has This Been Tested?
On testnet
Breaking Changes
None
Checklist:
For repository code-owners and collaborators only