mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 991 forks source link

Config parsing error causes panic #3746

Open ardocrat opened 1 year ago

ardocrat commented 1 year ago

After adding migrate_config_file_version_none_to_2 function by this PR https://github.com/mimblewimble/grin/pull/3634, read_config method is not handling parsing error anymore, panic occurs at toml::from_str function when config file is in wrong format.