aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 17:34:24 +0200
committerOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 17:34:24 +0200
commitaef3f8ed1e1107b52c24561dc09e3af6f9fd58f4 (patch)
tree7e716d9b70a83b84797ec371221c0965f593a7d8
parenta9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff)
downloadgo-git-aef3f8ed1e1107b52c24561dc09e3af6f9fd58f4.tar.gz
Dont skip error
-rw-r--r--utils/merkletrie/filesystem/node.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/merkletrie/filesystem/node.go b/utils/merkletrie/filesystem/node.go
index 165bd42..2fc3d7a 100644
--- a/utils/merkletrie/filesystem/node.go
+++ b/utils/merkletrie/filesystem/node.go
@@ -91,8 +91,7 @@ func (n *node) calculateChildren() error {
if os.IsNotExist(err) {
return nil
}
-
- return nil
+ return err
}
for _, file := range files {