htlcswitch+discovery mock: adhere to new lnpeer interface

This commit is contained in:
Johan T. Halseth
2018-09-26 11:12:58 +02:00
parent a433e70575
commit 54a608d09d
3 changed files with 4 additions and 4 deletions

View File

@@ -543,7 +543,7 @@ func (s *mockServer) Address() net.Addr {
return nil
}
func (s *mockServer) AddNewChannel(channel *lnwallet.LightningChannel,
func (s *mockServer) AddNewChannel(channel *channeldb.OpenChannel,
cancel <-chan struct{}) error {
return nil