multi: move ChannelUpdate validate methods to netann

This commit is contained in:
Elle Mouton
2024-09-11 12:27:14 +02:00
parent e07d23567c
commit 7bbf89625f
8 changed files with 82 additions and 82 deletions

View File

@@ -7,7 +7,6 @@ import (
"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcec/v2/ecdsa"
"github.com/lightningnetwork/lnd/graph"
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwire"
@@ -182,7 +181,7 @@ func TestUpdateDisableFlag(t *testing.T) {
// Finally, validate the signature using the router's
// verification logic.
err = graph.VerifyChannelUpdateSignature(
err = netann.VerifyChannelUpdateSignature(
newUpdate, pubKey,
)
if err != nil {