mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
beacon/light: more misc fixes
This commit is contained in:
parent
a4f3bdfa38
commit
2333dcdb24
1 changed files with 2 additions and 1 deletions
|
|
@ -150,6 +150,7 @@ func (c *LightClient) Start() error {
|
|||
}
|
||||
}
|
||||
|
||||
// Stop halts the light client.
|
||||
func (c *LightClient) Stop() error {
|
||||
close(c.quitCh)
|
||||
return nil
|
||||
|
|
@ -253,7 +254,7 @@ func versionedBlockToExecutableData(block *eth2spec.VersionedSignedBeaconBlock)
|
|||
GasUsed: p.GasUsed,
|
||||
Timestamp: p.Timestamp,
|
||||
ExtraData: p.ExtraData,
|
||||
BaseFeePerGas: nil, // TODO: convert this []uint64 correctly to big.Int
|
||||
BaseFeePerGas: p.BaseFeePerGas.ToBig(),
|
||||
BlockHash: common.Hash(p.BlockHash),
|
||||
Transactions: [][]byte{},
|
||||
Withdrawals: nil,
|
||||
|
|
|
|||
Loading…
Reference in a new issue