Skip to content

Commit

Permalink
1 Second Block
Browse files Browse the repository at this point in the history
  • Loading branch information
TuitionCoin authored and unknown committed May 8, 2018
1 parent 5d0e95c commit 83f0fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/ethash/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int {

// (2 if len(parent_uncles) else 1) - (block_timestamp - parent_timestamp) // 9
x.Sub(bigTime, bigParentTime)
x.Div(x, big9)
x.Div(x, big1)
if parent.UncleHash == types.EmptyUncleHash {
x.Sub(big1, x)
} else {
Expand Down

0 comments on commit 83f0fb0

Please sign in to comment.