mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
peer+lnpeer: add new methods to expose local+global features for lnpeer interface
This commit is contained in:
@@ -56,6 +56,12 @@ func (p *mockPeer) Address() net.Addr { return nil }
|
||||
func (p *mockPeer) QuitSignal() <-chan struct{} {
|
||||
return p.quit
|
||||
}
|
||||
func (p *mockPeer) LocalGlobalFeatures() *lnwire.FeatureVector {
|
||||
return nil
|
||||
}
|
||||
func (p *mockPeer) RemoteGlobalFeatures() *lnwire.FeatureVector {
|
||||
return nil
|
||||
}
|
||||
|
||||
// mockMessageStore is an in-memory implementation of the MessageStore interface
|
||||
// used for the gossiper's unit tests.
|
||||
|
Reference in New Issue
Block a user