mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
multi: remove returned error from WipeChannel
The linter complains about not checking the return value from WipeChannel in certain places. Instead of checking we simply remove the returned error because the in-memory modifications cannot fail.
This commit is contained in:
@@ -30,7 +30,7 @@ type Peer interface {
|
||||
|
||||
// WipeChannel removes the channel uniquely identified by its channel
|
||||
// point from all indexes associated with the peer.
|
||||
WipeChannel(*wire.OutPoint) error
|
||||
WipeChannel(*wire.OutPoint)
|
||||
|
||||
// PubKey returns the serialized public key of the remote peer.
|
||||
PubKey() [33]byte
|
||||
|
||||
Reference in New Issue
Block a user