Merge pull request #3441 from ethcore/backport

#3035 Backport to stable
This commit is contained in:
Arkadiy Paronyan 2016-11-15 13:35:09 +01:00 committed by GitHub
commit c2803d3d45

View File

@ -708,7 +708,7 @@ impl BlockChainClient for Client {
fn call(&self, t: &SignedTransaction, block: BlockID, analytics: CallAnalytics) -> Result<Executed, CallError> {
let header = try!(self.block_header(block).ok_or(CallError::StatePruned));
let view = HeaderView::new(&header);
let last_hashes = self.build_last_hashes(view.hash());
let last_hashes = self.build_last_hashes(view.parent_hash());
let env_info = EnvInfo {
number: view.number(),
author: view.author(),