From e0d554e0cae45c17646cf9c0c3cdd18978b3ec19 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Mon, 13 Mar 2017 17:47:43 +0100 Subject: [PATCH] Recalculate receipt roots in close_and_lock (#4884) --- 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 aebea2b4f..1b502f087 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 67425ca86..14f3df799 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 {