Onyx-Protocol / Onyx

Onyx
https://Onyx.org
GNU Affero General Public License v3.0
1.79k stars 362 forks source link

core/config: move HomeDirFromEnvironment from core to config #1392

Closed vickiniu closed 7 years ago

vickiniu commented 7 years ago

For https://github.com/chain/chain/pull/1390, we need to call HomeDirFromEnvironment in the config package so we can identify the raft directory. Moving from core into config to avoid circular imports.

kr commented 7 years ago

LGTM