Skip to content

Commit

Permalink
Fixup incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jan 17, 2024
1 parent 3ecd638 commit 378eee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exp/lighthorizon/tools/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tools
import (
"context"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strconv"
Expand Down Expand Up @@ -234,7 +234,7 @@ func PurgeCache(cacheDir string) error {
}

func ShowCache(cacheDir string) error {
files, err := io.ReadDir(filepath.Join(cacheDir, "ledgers"))
files, err := ioutil.ReadDir(filepath.Join(cacheDir, "ledgers"))
if err != nil {
log.Errorf("Failed to read cache: %v", err)
return err
Expand Down

0 comments on commit 378eee6

Please sign in to comment.