Migrate finality-grandpa to the 2018 edition (#1797)

This commit is contained in:
Stanislav Tkach authored and Robert Habermeier committed 2019-02-15 16:06:18 -03:00
1 parent c122e8eee8
commit 34e3487035
19 files changed
+71 -106

No files matched your search

+1 -2
View File
@@ -48,7 +48,6 @@ mod tests {
BuildStorage, GenesisConfig, BalancesConfig, SessionConfig, StakingConfig, System,
SystemConfig, GrandpaConfig, IndicesConfig, FeesConfig, Event, Log};
use wabt;
use hex_literal::{hex, hex_impl};
use primitives::map;
const BLOATY_CODE: &[u8] = include_bytes!("../../runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.wasm");
@@ -354,7 +353,7 @@ mod tests {
).0.unwrap();
}
let mut correct_header = match Executor::new(None).call::<_, NeverNativeValue, fn() -> _>(
let correct_header = match Executor::new(None).call::<_, NeverNativeValue, fn() -> _>(
env,
"BlockBuilder_finalise_block",
&[0u8;0],