Fix formatting in journal.go

This commit is contained in:
Kyrin 2025-10-16 15:14:10 +08:00 committed by GitHub
parent d4dece7f86
commit 397d750851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ func newTxJournal(path string) *journal {
// the specified pool.
func (journal *journal) load(add func([]*types.Transaction) []error) error {
originalWriter := journal.writer
// Open the journal for loading any past transactions
input, err := os.Open(journal.path)
if errors.Is(err, fs.ErrNotExist) {