mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-17 13:06:14 +02:00
peer: add missing Close() method to mockMessageConn
This commit is contained in:
parent
64753b01d1
commit
c4e0daa274
1 changed files with 4 additions and 0 deletions
|
|
@ -561,3 +561,7 @@ func (m *mockMessageConn) RemoteAddr() net.Addr {
|
|||
func (m *mockMessageConn) LocalAddr() net.Addr {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *mockMessageConn) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue