From c6eaa72dab639def8f69872ce07c70a689dfa1fd Mon Sep 17 00:00:00 2001 From: Felipe Madero Date: Fri, 17 May 2024 11:40:46 -0300 Subject: [PATCH] persist network also on network create --- local/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/network.go b/local/network.go index 05da2d1a..ee6b57fa 100644 --- a/local/network.go +++ b/local/network.go @@ -620,7 +620,7 @@ func (ln *localNetwork) addNode(nodeConfig node.Config) (node.Node, error) { Port: nodeData.p2pPort, })) } - return node, err + return node, ln.persistNetwork() } // See network.Network