mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
lnd: fix latest goclean.sh lint warning
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
730c0b8cb1
commit
61991a1c89
@@ -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