QuilibriumNetwork / ceremonyclient

Mirror of Quilibrium git repo: ceremonyclient
GNU Affero General Public License v3.0
95 stars 41 forks source link

shift default config directory of qclient under current folder #176

Closed mscurtescu closed 6 months ago

mscurtescu commented 6 months ago

qclient by default expects the config folder under ../node/.config/ which is not working when the binary is run from PATH.

The workaround is to run the command like:

qclient <sub-command> --config .config <args>

This PR fixes the config loading to default it to .config/ (that is .config/ under current folder).

Related issue: https://github.com/QuilibriumNetwork/ceremonyclient/issues/175

mscurtescu commented 6 months ago

Tested locally, works as expected.