mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
multi: move ChannelUpdate validate methods to netann
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user