Skip to content

Commit

Permalink
fix difficulty in executor context
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Aug 21, 2023
1 parent 6e65306 commit db0c608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/types/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl From<Proposal> for ExecutorContext {
block_coinbase: h.proposer,
block_timestamp: h.timestamp.into(),
chain_id: h.chain_id.into(),
difficulty: U256::one(),
difficulty: U256::zero(),
origin: h.proposer,
gas_price: U256::one(),
block_gas_limit: h.gas_limit,
Expand Down

0 comments on commit db0c608

Please sign in to comment.