channeldb/migration: copy current lnwire to migration dir

To avoid code changing underneath the static migrations, we copy the
lnwire dependency in its current form into the migration directory.

Ideally the migrations doesn't depend on any code that might change,
this takes us a step closer.
This commit is contained in:
Johan T. Halseth
2021-01-15 11:12:08 +01:00
parent c6a8816043
commit 7569cca19b
56 changed files with 6866 additions and 18 deletions

View File

@@ -9,8 +9,8 @@ import (
"github.com/btcsuite/btcd/wire"
"github.com/lightningnetwork/lnd/channeldb/kvdb"
lnwire "github.com/lightningnetwork/lnd/channeldb/migration/lnwire21"
"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/tlv"
)