Skip to content

Commit f27f7b3

Browse files
authored
Merge pull request ethereum#261 from jimthematrix/permissioned-nodes
Fixed missing DataDir value in p2p server that affected permissioned nodes
2 parents aa36557 + d99a3e6 commit f27f7b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/node.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ func (n *Node) Start() error {
156156
n.serverConfig.NodeDatabase = n.config.NodeDB()
157157
}
158158
n.serverConfig.EnableNodePermission = n.config.EnableNodePermission
159+
n.serverConfig.DataDir = n.config.DataDir
159160
running := &p2p.Server{Config: n.serverConfig}
160161
log.Info("Starting peer-to-peer node", "instance", n.serverConfig.Name)
161162

0 commit comments

Comments
 (0)