channeldb: remove unused tx argument

This commit is contained in:
Oliver Gugger committed 2022-10-13 09:37:53 +02:00
1 parent ee9d6f21bd
commit 28c8e8b6dd
3 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -1417,7 +1417,7 @@ func (c *ChannelStateDB) DeleteChannelOpeningState(outPoint []byte) error {
// applies migration functions to the current database and recovers the
// previous state of db if at least one error/panic appeared during migration.
func (d *DB) syncVersions(versions []mandatoryVersion) error {
meta, err := d.FetchMeta(nil)
meta, err := d.FetchMeta()
if err != nil {
if err == ErrMetaNotFound {
meta = &Meta{}