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 | |
parent | 9f240d93507cdf03935ba7e4e3a7b226f150736d (diff) | |
download | tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.gz tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.bz2 tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.lz tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.xz tangerine-consensus-eaf271f8e4d16920d8575cf77c65ece2960444d0.tar.zst tangerine-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')
0 files changed, 0 insertions, 0 deletions