diff --git a/node/node.go b/node/node.go index 9c6dc59..c800f3d 100644 --- a/node/node.go +++ b/node/node.go @@ -62,6 +62,10 @@ func (n *Node) WaitOnConnectedPeers() { n.services.P2P().WaitOnConnectedPeers() } +func (n *Node) NetworkId() string { + return n.services.P2P().NetworkId() +} + func DefaultNode(config *config.NodeConfig) *Node { params := service.ServiceParams{ Logger: config.Logger,