lnd_test: make sure node ID is correctly initialized in log file name

This commit is contained in:
Oliver Gugger committed 2018-04-30 11:59:34 +03:00
1 parent 578f1d9332
commit cbd981c236
2 files changed
+37 -1

No files matched your search

+2 -1
View File
@@ -326,7 +326,8 @@ func (n *NetworkHarness) RestoreNodeWithSeed(name string, extraArgs []string,
// wallet with or without a seed. If hasSeed is false, the returned harness node
// can be used immediately. Otherwise, the node will require an additional
// initialization phase where the wallet is either created or restored.
func (n *NetworkHarness) newNode(name string, extraArgs []string, hasSeed bool) (*HarnessNode, error) {
func (n *NetworkHarness) newNode(name string, extraArgs []string,
hasSeed bool) (*HarnessNode, error) {
node, err := newNode(nodeConfig{
Name: name,
HasSeed: hasSeed,