mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
lnwire: remove obsolete String() method from new wire messages
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package lnwire
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/roasbeef/btcd/wire"
|
||||
@@ -103,14 +102,3 @@ func (c *UpdateFufillHTLC) Validate() error {
|
||||
// We're good!
|
||||
return nil
|
||||
}
|
||||
|
||||
// String returns the string representation of the target UpdateFufillHTLC.
|
||||
//
|
||||
// This is part of the lnwire.Message interface.
|
||||
func (c *UpdateFufillHTLC) String() string {
|
||||
return fmt.Sprintf("\n--- Begin UpdateFufillHTLC ---\n") +
|
||||
fmt.Sprintf("ChannelPoint:\t%v\n", c.ChannelPoint) +
|
||||
fmt.Sprintf("ID:\t%d\n", c.ID) +
|
||||
fmt.Sprintf("RedemptionHashes:\t\t%x\n", c.PaymentPreimage) +
|
||||
fmt.Sprintf("--- End UpdateFufillHTLC ---\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user