Skip to content

Commit df15535

Browse files
committed
libp2p(avail): change spoofed user agent
1 parent 9c1bfb5 commit df15535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libp2p/driver_crawler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func NewCrawlDriver(dbc db.Client, cfg *CrawlDriverConfig) (*CrawlDriver, error)
148148
// Spoof it
149149
userAgent := "nebula/" + cfg.Version
150150
if cfg.Network == config.NetworkAvailTuringLC || cfg.Network == config.NetworkAvailMainnetLC {
151-
userAgent = "avail-light-client/rust-client"
151+
userAgent = "avail-light-client/light-client/1.12.13/rust-client"
152152
}
153153

154154
hosts := make(map[peer.ID]Host, runtime.NumCPU())

0 commit comments

Comments
 (0)