channeldb: remove unused tx argument

This commit is contained in:
Oliver Gugger
2022-09-30 14:17:12 +02:00
parent ee9d6f21bd
commit 28c8e8b6dd
3 changed files with 9 additions and 10 deletions

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{}