Skip to content

Commit

Permalink
Update memiavl/multitree.go
Browse files Browse the repository at this point in the history
Co-authored-by: mmsqe <mavis@crypto.com>
Signed-off-by: yihuang <huang@crypto.com>
  • Loading branch information
yihuang and mmsqe authored Jun 28, 2023
1 parent d0c70fd commit 04f8f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memiavl/multitree.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewEmptyMultiTree(initialVersion uint32, cacheSize int) *MultiTree {
func LoadMultiTree(dir string, zeroCopy bool, cacheSize int) (*MultiTree, error) {
metadata, err := readMetadata(dir)
if err != nil {
return nil, fmt.Errorf("fail to read metadata: %w", err)
return nil, err
}

entries, err := os.ReadDir(dir)
Expand Down

0 comments on commit 04f8f06

Please sign in to comment.