Skip to content

Commit

Permalink
persist network also on network create
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed May 17, 2024
1 parent 00b6831 commit c6eaa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6eaa72

Please sign in to comment.