mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-03 17:26:57 +01:00
lnwire: Adjust Stringer to standard chan id format
This would adjust logging output to use a more easily selectable short channel id components string
This commit is contained in:
parent
154a8a95d8
commit
1ec1b8e9e7
1 changed files with 1 additions and 1 deletions
|
@ -44,5 +44,5 @@ func (c ShortChannelID) ToUint64() uint64 {
|
|||
|
||||
// String generates a human-readable representation of the channel ID.
|
||||
func (c ShortChannelID) String() string {
|
||||
return fmt.Sprintf("%d:%d:%d", c.BlockHeight, c.TxIndex, c.TxPosition)
|
||||
return fmt.Sprintf("%dx%dx%d", c.BlockHeight, c.TxIndex, c.TxPosition)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue