mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
394adb4750
Former-commit-id: ad6a4793064556b556a92dbed3f8a555972c07a1 [formerly 13e903a723eee255b4eb6e2bcc7be06ba73b6fa7] Former-commit-id: b2ecf21d02170030dfc56e9d9303aeb7bee45fab
20 lines
312 B
Go
20 lines
312 B
Go
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
|
|
|
|
}
|