Skip to content

Commit

Permalink
fix mixHash/nonce for parity compatible network (ethereum#18166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkanani authored and cryptomental committed Jan 9, 2019
1 parent 5e7b9fc commit 8fc6d6d
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 8fc6d6d

Please sign in to comment.