mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
c58be5625d
In this commit, we fix a bug introduced with the recent bug fix for SCB state+fail combination. On windwos a rename operation will fail is the fail one is attempting to rename is still open. Therefore we need to close the file after we read the contents, to ensure the follow up rename operations once the channel state changes will succeed. We do this by using `ioutil.ReadFile`, which will always clsoe the file after reading. Fixes #4450. |
||
---|---|---|
.. | ||
backup_test.go | ||
backup.go | ||
backupfile_test.go | ||
backupfile.go | ||
crypto_test.go | ||
crypto.go | ||
log.go | ||
multi_test.go | ||
multi.go | ||
pubsub_test.go | ||
pubsub.go | ||
recover_test.go | ||
recover.go | ||
single_test.go | ||
single.go |