peer+lnpeer: add new methods to expose local+global features for lnpeer interface

This commit is contained in:
Olaoluwa Osuntokun committed 2019-09-25 18:26:01 -07:00
1 parent a58cfa65ff
commit 3f8526a0ca
7 files changed
+59 -1

No files matched your search

+8
View File
@@ -597,6 +597,14 @@ func (s *mockServer) WipeChannel(*wire.OutPoint) error {
return nil
}
func (s *mockServer) LocalGlobalFeatures() *lnwire.FeatureVector {
return nil
}
func (s *mockServer) RemoteGlobalFeatures() *lnwire.FeatureVector {
return nil
}
func (s *mockServer) Stop() error {
if !atomic.CompareAndSwapInt32(&s.shutdown, 0, 1) {
return nil