mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 11:07:03 +02:00
multi: satisfy new lnpeer interface
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"testing"
|
||||
@@ -517,6 +518,16 @@ func (s *mockServer) IdentityKey() *btcec.PublicKey {
|
||||
return pubkey
|
||||
}
|
||||
|
||||
func (s *mockServer) Address() net.Addr {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *mockServer) AddNewChannel(channel *lnwallet.LightningChannel,
|
||||
cancel <-chan struct{}) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *mockServer) WipeChannel(*wire.OutPoint) error {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user