Skip to content

Commit

Permalink
fix mixHash/nonce for parity compatible network (#18166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkanani authored and holiman committed Nov 26, 2018
1 parent 2a113f6 commit 38592a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions core/types/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ type Header struct {
GasUsed uint64 `json:"gasUsed" gencodec:"required"`
Time *big.Int `json:"timestamp" gencodec:"required"`
Extra []byte `json:"extraData" gencodec:"required"`
MixDigest common.Hash `json:"mixHash" gencodec:"required"`
Nonce BlockNonce `json:"nonce" gencodec:"required"`
MixDigest common.Hash `json:"mixHash"`
Nonce BlockNonce `json:"nonce"`
}

// field type overrides for gencodec
Expand Down
20 changes: 10 additions & 10 deletions core/types/gen_header_json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 38592a1

Please sign in to comment.