mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Merge branch 'master' of https://github.com/tomochain/tomochain
This commit is contained in:
commit
b63129e07b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue