From 56c705968b0323298e2552f6449347ba7b9049bc Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 16 May 2016 13:33:29 +0200 Subject: [PATCH] Fix typo. --- rpc/src/v1/impls/eth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/src/v1/impls/eth.rs b/rpc/src/v1/impls/eth.rs index b6abbaa47..6fddf7b4f 100644 --- a/rpc/src/v1/impls/eth.rs +++ b/rpc/src/v1/impls/eth.rs @@ -138,8 +138,8 @@ impl EthClient gas_limit: uncle.gas_limit, logs_bloom: uncle.log_bloom, timestamp: U256::from(uncle.timestamp), - difficulty: uncle.difficulty + parent_difficulty, - total_difficulty: uncle.difficulty, + difficulty: uncle.difficulty, + total_difficulty: uncle.difficulty + parent_difficulty, receipts_root: uncle.receipts_root, extra_data: Bytes::new(uncle.extra_data), seal_fields: uncle.seal.into_iter().map(Bytes::new).collect(),