forgot my go fmt hook
This commit is contained in:
parent
960523f45f
commit
628872d0e4
@ -28,7 +28,7 @@ import (
|
|||||||
var log = logging.Logger("drand")
|
var log = logging.Logger("drand")
|
||||||
|
|
||||||
type DrandConfig struct {
|
type DrandConfig struct {
|
||||||
Servers []string
|
Servers []string
|
||||||
ChainInfo *dchain.Info
|
ChainInfo *dchain.Info
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,8 +109,8 @@ type RandomBeaconParams struct {
|
|||||||
fx.In
|
fx.In
|
||||||
|
|
||||||
DrandConfig *drand.DrandConfig `optional:"true"`
|
DrandConfig *drand.DrandConfig `optional:"true"`
|
||||||
PubSub *pubsub.PubSub `optional:"true"`
|
PubSub *pubsub.PubSub `optional:"true"`
|
||||||
Cs *store.ChainStore
|
Cs *store.ChainStore
|
||||||
}
|
}
|
||||||
|
|
||||||
func RandomBeacon(p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.RandomBeacon, error) {
|
func RandomBeacon(p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.RandomBeacon, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user