diff options
Diffstat (limited to 'utils/merkletrie/filesystem/node.go')
-rw-r--r-- | utils/merkletrie/filesystem/node.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/merkletrie/filesystem/node.go b/utils/merkletrie/filesystem/node.go index ad169ff..7bba0d0 100644 --- a/utils/merkletrie/filesystem/node.go +++ b/utils/merkletrie/filesystem/node.go @@ -103,6 +103,10 @@ func (n *node) calculateChildren() error { continue } + if file.Mode()&os.ModeSocket != 0 { + continue + } + c, err := n.newChildNode(file) if err != nil { return err |