prysm-pulse/sharding/proposer/proposer_client.go

20 lines
312 B
Go
Raw Normal View History

package proposer
import (
"github.com/ethereum/go-ethereum/sharding/client"
cli "gopkg.in/urfave/cli.v1"
)
func NewProposerClient(ctx *cli.Context) *client.ShardingClient {
c := client.MakeClient(ctx)
return c
}
func ProposerStart(sclient *client.ShardingClient) error {
sclient.Start()
return nil
}