multi: move ChannelUpdate validate methods to netann

This commit is contained in:
Elle Mouton committed 2024-09-18 16:13:18 +02:00
1 parent e07d23567c
commit 7bbf89625f
8 files changed
+82 -82

No files matched your search

+1 -2
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 {