mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
multi: repleace ioutil.ReadFile
This commit is contained in:
@@ -218,7 +218,7 @@ func lastCompactionDate(dbFile string) (time.Time, error) {
|
||||
return zeroTime, nil
|
||||
}
|
||||
|
||||
tsBytes, err := ioutil.ReadFile(tsFile)
|
||||
tsBytes, err := os.ReadFile(tsFile)
|
||||
if err != nil {
|
||||
return zeroTime, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user