mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
channeldb: remove unused tx argument
This commit is contained in:
@@ -28,9 +28,8 @@ type Meta struct {
|
||||
DbVersionNumber uint32
|
||||
}
|
||||
|
||||
// FetchMeta fetches the meta data from boltdb and returns filled meta
|
||||
// structure.
|
||||
func (d *DB) FetchMeta(tx kvdb.RTx) (*Meta, error) {
|
||||
// FetchMeta fetches the metadata from boltdb and returns filled meta structure.
|
||||
func (d *DB) FetchMeta() (*Meta, error) {
|
||||
var meta *Meta
|
||||
|
||||
err := kvdb.View(d, func(tx kvdb.RTx) error {
|
||||
|
Reference in New Issue
Block a user