mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth/catalyst: fix api
This commit is contained in:
parent
8591d0bc19
commit
33d4b424d6
1 changed files with 2 additions and 1 deletions
|
|
@ -93,6 +93,7 @@ var caps = []string{
|
||||||
"engine_getPayloadBodiesByHashV1",
|
"engine_getPayloadBodiesByHashV1",
|
||||||
"engine_getPayloadBodiesByRangeV1",
|
"engine_getPayloadBodiesByRangeV1",
|
||||||
"engine_getClientVersionV1",
|
"engine_getClientVersionV1",
|
||||||
|
"engine_getInclusionListV1",
|
||||||
}
|
}
|
||||||
|
|
||||||
type ConsensusAPI struct {
|
type ConsensusAPI struct {
|
||||||
|
|
@ -943,7 +944,7 @@ func (api *ConsensusAPI) NewInclusionListV1(inclusionListSummary *types.Inclusio
|
||||||
return &engine.InclusionListStatusV1{Status: engine.VALID}, nil
|
return &engine.InclusionListStatusV1{Status: engine.VALID}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (api *ConsensusAPI) GetInclusionListV1() ([]common.Address, [][]byte, error) {
|
func (api *ConsensusAPI) GetInclusionListV1(parentHash common.Hash) ([]common.Address, [][]byte, error) {
|
||||||
return []common.Address{}, [][]byte{}, nil
|
return []common.Address{}, [][]byte{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue