mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 12:22:38 +01:00
peer+protofsm: move MsgRouter to new protofsm package
Without this, any other sub-system that wants to use the interface may run into an import cycle.
This commit is contained in:
committed by
Oliver Gugger
parent
b9786e1f20
commit
c9d8adc83c
@@ -44,7 +44,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/lnwallet/btcwallet"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/rpcwallet"
|
||||
"github.com/lightningnetwork/lnd/macaroons"
|
||||
"github.com/lightningnetwork/lnd/peer"
|
||||
"github.com/lightningnetwork/lnd/protofsm"
|
||||
"github.com/lightningnetwork/lnd/rpcperms"
|
||||
"github.com/lightningnetwork/lnd/signal"
|
||||
"github.com/lightningnetwork/lnd/sqldb"
|
||||
@@ -161,7 +161,7 @@ type AuxComponents struct {
|
||||
|
||||
// MsgRouter is an optional message router that if set will be used in
|
||||
// place of a new balnk default message router.
|
||||
MsgRouter fn.Option[peer.MsgRouter]
|
||||
MsgRouter fn.Option[protofsm.MsgRouter]
|
||||
}
|
||||
|
||||
// DefaultWalletImpl is the default implementation of our normal, btcwallet
|
||||
|
||||
Reference in New Issue
Block a user