Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix false fatal err while reading peers in config (#19)
Earlier we didn't differ is variable empty or just not set, that's why when we met empty address we just finished reading of the list of peers and printed "skip, empty address" anyway: ``` if address == "" { a.log.Warn("skip, empty address") break } ``` Changes in the last commit added check if `peers.i.address` is empty and if true, raise fatal. It led to false error when the list of peers is over.
- Loading branch information