lnd: fix latest goclean.sh lint warning

This commit is contained in:
Andrey Samokhvalov authored and Olaoluwa Osuntokun committed 2017-03-13 16:30:23 -07:00
1 parent 730c0b8cb1
commit 61991a1c89
16 files changed
+44 -88

No files matched your search

+2 -5
View File
@@ -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
}