diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-18 16:51:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 16:51:29 +0800 |
commit | eaf271f8e4d16920d8575cf77c65ece2960444d0 (patch) | |
tree | f16137dc83613f306278141886a390de94f906a5 /simulation/node.go | |
parent | 9f240d93507cdf03935ba7e4e3a7b226f150736d (diff) | |
download | dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.gz dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.bz2 dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.lz dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.xz dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.zst dexon-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.zip |
misc: panic not ready (#374)
* Panic when config/crs not ready
For those calls to Governace.Configuration
and Governance.CRS without checking
returns, replace those calls with these newly
added helpers:
- utils.GetConfigurationWithPanic
- utils.GetCRSWithPanic
They would check returns, and panic directly
if not ready yet.
* Fix a bug that config is not ready
when syncing
Diffstat (limited to 'simulation/node.go')
0 files changed, 0 insertions, 0 deletions