htlcswitch: update WipeChannel on Peer interface to simply take the chanPoint

The WipeChannel method doesn’t need to take the channel itself, as any
relevant indexes should be able to be queried based on the channel
point along.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-23 23:10:10 -06:00
1 parent 3aabbce551
commit 25082f0b5b
4 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -332,7 +332,7 @@ func (s *mockServer) Disconnect(reason error) {
s.t.Fatalf("server %v was disconnected: %v", s.name, reason)
}
func (s *mockServer) WipeChannel(*lnwallet.LightningChannel) error {
func (s *mockServer) WipeChannel(*wire.OutPoint) error {
return nil
}