mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
multi: fix linter errors
This commit is contained in:
@@ -87,7 +87,7 @@ func writeElement(w io.Writer, element interface{}) error {
|
||||
}
|
||||
case *btcec.PublicKey:
|
||||
if e == nil {
|
||||
fmt.Errorf("cannot write nil pubkey")
|
||||
return fmt.Errorf("cannot write nil pubkey")
|
||||
}
|
||||
|
||||
var b [33]byte
|
||||
|
Reference in New Issue
Block a user