clear statedb panics (#797)

* state-db: remove the assertion and replace it with Result<>

* state-db: unit test fixes

* comment fixes

* typo fix
This commit is contained in:
Guanqun Lu
2018-09-26 18:23:33 +08:00
committed by Gav Wood
parent 74a5ff7d0d
commit 1438e15925
4 changed files with 60 additions and 46 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ error_chain! {
display("Current state of blockchain has invalid authorities set"),
}
/// Cound not get runtime version.
/// Could not get runtime version.
VersionInvalid {
description("Runtime version error"),
display("On-chain runtime does not specify version"),