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(),