Skip to content

Commit

Permalink
chore: In gnodev serveGnoWebServer, set webConfig HelpChainID and Hel…
Browse files Browse the repository at this point in the history
…pRemote (gnolang#1497)
  • Loading branch information
jefft0 authored and gfanton committed Jan 18, 2024
1 parent 33ea6a9 commit e639e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contribs/gnodev/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ func serveGnoWebServer(l net.Listener, dnode *gnodev.Node, rt *rawterm.RawTerm)

webConfig := gnoweb.NewDefaultConfig()
webConfig.RemoteAddr = dnode.GetRemoteAddress()
webConfig.HelpChainID = dnode.Config().ChainID()
webConfig.HelpRemote = dnode.GetRemoteAddress()

loggerweb := tmlog.NewTMLogger(rt.NamespacedWriter("GnoWeb"))
loggerweb.SetLevel(tmlog.LevelDebug)
Expand Down

0 comments on commit e639e25

Please sign in to comment.