From 3ddd6572c6fa0ae9220af65d8979b141bd126fcd Mon Sep 17 00:00:00 2001 From: arkpar Date: Mon, 13 Mar 2017 17:26:53 +0100 Subject: [PATCH] Recalculate receipt roots in close_and_lock --- ethcore/res/ethereum/transition_test.json | 1 + ethcore/src/block.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/res/ethereum/transition_test.json b/ethcore/res/ethereum/transition_test.json index aebea2b4fbe..1b502f0876d 100644 --- a/ethcore/res/ethereum/transition_test.json +++ b/ethcore/res/ethereum/transition_test.json @@ -139,6 +139,7 @@ } }, "params": { + "eip98Transition": "0x7fffffffffffffff", "accountStartNonce": "0x00", "maximumExtraDataSize": "0x20", "minGasLimit": "0x1388", diff --git a/ethcore/src/block.rs b/ethcore/src/block.rs index 67425ca862a..14f3df79946 100644 --- a/ethcore/src/block.rs +++ b/ethcore/src/block.rs @@ -553,7 +553,6 @@ pub fn enact( b.set_extra_data(header.extra_data().clone()).unwrap_or_else(|e| warn!("Couldn't set extradata: {}. Ignoring.", e)); b.set_uncles_hash(header.uncles_hash().clone()); b.set_transactions_root(header.transactions_root().clone()); - b.set_receipts_root(header.receipts_root().clone()); push_transactions(&mut b, transactions)?; for u in uncles {