lnd: fix latest goclean.sh lint warning
This commit is contained in:
1 parent
730c0b8cb1
commit
61991a1c89
16 files changed
+44
-88
No files matched your search
@@ -85,9 +85,6 @@ func (p *RevocationProducer) AtIndex(v uint64) (*chainhash.Hash, error) {
|
||||
//
|
||||
// NOTE: Part of the Producer interface.
|
||||
func (p *RevocationProducer) Encode(w io.Writer) error {
|
||||
if _, err := w.Write(p.root.hash[:]); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
_, err := w.Write(p.root.hash[:])
|
||||
return err
|
||||
}
|
||||
Reference in new issue
Block a user