Misspelled words (#625)

* Misspelled words

* Update native_executor.rs
This commit is contained in:
Guanghua Guo
2018-08-29 17:24:35 +08:00
committed by Gav Wood
parent 20655af97b
commit 758c7bb0be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ error_chain! {
display("Invalid Code: {:?}", c),
}
/// Cound not get runtime version.
/// Could not get runtime version.
VersionInvalid {
description("Runtime version error"),
display("On-chain runtime does not specify version"),
@@ -50,7 +50,7 @@ fn gen_cache_key(code: &[u8]) -> [u8; 32] {
/// fetch a runtime version from the cache or if there is no cached version yet, create
/// the runtime version entry for `code`, determines whether `Compatibility::IsCompatible`
/// can be used by by comparing returned RuntimeVersion to `ref_version`
/// can be used by comparing returned RuntimeVersion to `ref_version`
fn fetch_cached_runtime_version<'a, E: Externalities<KeccakHasher>>(
wasm_executor: &WasmExecutor,
cache: &'a mut MutexGuard<CacheType>,