Skip to content

Commit 4482ebd

Browse files
committed
triedb/pathdb: fix unnecessary fmt.Sprintf
1 parent 447b5f7 commit 4482ebd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

triedb/pathdb/database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,9 @@ func (db *Database) journalPath() string {
606606
}
607607
var fname string
608608
if db.isVerkle {
609-
fname = fmt.Sprintf("verkle.journal")
609+
fname = "verkle.journal"
610610
} else {
611-
fname = fmt.Sprintf("merkle.journal")
611+
fname = "merkle.journal"
612612
}
613613
return filepath.Join(db.config.JournalDirectory, fname)
614614
}

0 commit comments

Comments
 (0)