lnwire: properly display channel points in .String() methods

This commit is contained in:
Olaoluwa Osuntokun committed 2016-07-12 17:05:18 -07:00
1 parent 9b5e487893
commit c8de0924ba
4 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ func (c *HTLCAddRequest) String() string {
}
return fmt.Sprintf("\n--- Begin HTLCAddRequest ---\n") +
fmt.Sprintf("ChannelPoint:\t%d\n", c.ChannelPoint) +
fmt.Sprintf("ChannelPoint:\t%v\n", c.ChannelPoint) +
fmt.Sprintf("Expiry:\t\t%d\n", c.Expiry) +
fmt.Sprintf("Amount\t\t%d\n", c.Amount) +
fmt.Sprintf("ContractType:\t%d (%b)\n", c.ContractType, c.ContractType) +