aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-07-10 06:14:49 +0200
committerGitHub <noreply@github.com>2020-07-10 06:14:49 +0200
commit13095f770a0ea9be1c103389269fad1d82c55468 (patch)
tree7e716d9b70a83b84797ec371221c0965f593a7d8
parenta9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff)
parentaef3f8ed1e1107b52c24561dc09e3af6f9fd58f4 (diff)
downloadgo-git-13095f770a0ea9be1c103389269fad1d82c55468.tar.gz
Merge pull request #127 from cristaloleg/dont-skip-error
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 {