Skip to content

Commit

Permalink
Merge pull request ethereum#236 from nguyenbatam/tiny_fix_double_vali…
Browse files Browse the repository at this point in the history
…dation

tiny fix double validation
  • Loading branch information
ngtuna authored Oct 25, 2018
2 parents a0889d5 + 77d9c43 commit 7c561e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
header := block.Header()
sighash, _ := wallet.SignHash(accounts.Account{Address: eb}, posv.SigHash(header).Bytes())
header.Validator = sighash
block = types.NewBlockWithHeader(header)
block = types.NewBlockWithHeader(header).WithBody(block.Transactions(), block.Uncles())
}

return block, nil
Expand Down

0 comments on commit 7c561e5

Please sign in to comment.