use externalities for chain_id

This commit is contained in:
Gav
2018-01-16 19:04:13 +01:00
parent dc6ebf71cf
commit 74d5be0e80
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ impl_function_executor!(this: FunctionExecutor<'e, E>,
} else { 0 }
},
ext_chain_id() -> u64 => {
42u64
this.ext.chain_id()
}
=> <'e, E: Externalities + 'e>
);