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 authored and Gav Wood committed 2018-09-26 11:23:33 +01:00
1 parent 74a5ff7d0d
commit 1438e15925
4 files changed
+60 -46

No files matched your search

+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"),