mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 01:27:38 +00:00
linters
This commit is contained in:
parent
ae784e4b0a
commit
5d591109cd
@ -8,7 +8,7 @@ import (
|
||||
"github.com/ledgerwatch/turbo-geth/node"
|
||||
)
|
||||
|
||||
func New(db *ethdb.ObjectDatabase, ethereum *eth.Ethereum, stack *node.Node) {
|
||||
func New(db ethdb.HasKV, ethereum *eth.Ethereum, stack *node.Node) {
|
||||
apis := commands.GetAPI(db.KV(), core.NewEthBackend(ethereum), []string{"eth", "debug"})
|
||||
|
||||
stack.RegisterAPIs(apis)
|
||||
|
@ -82,11 +82,11 @@ func (f *FullService) Stop() error { return nil }
|
||||
|
||||
func (f *FullService) Protocols() []p2p.Protocol {
|
||||
return []p2p.Protocol{
|
||||
p2p.Protocol{
|
||||
{
|
||||
Name: "test1",
|
||||
Version: uint(1),
|
||||
},
|
||||
p2p.Protocol{
|
||||
{
|
||||
Name: "test2",
|
||||
Version: uint(2),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user