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:
Conner Fromknecht
2020-04-02 17:39:29 -07:00
parent 9385b8cdc6
commit ec784db511
8 changed files with 12 additions and 41 deletions

View File

@@ -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