Skip to content

Commit 6f25a13

Browse files
jannikluhnulope
authored andcommitted
Properly initialize AdvertizeAddresses
This makes the test pass
1 parent a9a5370 commit 6f25a13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rolling-shutter/p2p/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func NewConfig() *Config {
3838

3939
func (c *Config) Init() {
4040
c.P2PKey = &keys.Libp2pPrivate{}
41+
c.AdvertiseAddresses = []*address.P2PAddress{}
4142
}
4243

4344
type Config struct {

0 commit comments

Comments
 (0)