Set initialised_block if we called initialise_block (#1767)

This commit is contained in:
Bastian Köcher authored and GitHub committed 2019-02-12 14:52:00 +01:00
1 parent 90a837d4b8
commit 1f05a47cdb
2 files changed
+7

No files matched your search

@@ -237,6 +237,11 @@ where
native_call,
).map(|(result, _, _)| result)?;
// If the method is `initialise_block` we need to set the `initialised_block`
if method == "Core_initialise_block" {
*initialised_block = Some(*at);
}
self.backend.destroy_state(state)?;
Ok(result)
}