watchtower/wtdb: fix double hex encoding of chanid
This commit is contained in:
parent
6a4179e224
commit
05107ce969
@ -163,7 +163,7 @@ func (b *BackupID) Decode(r io.Reader) error {
|
||||
|
||||
// String returns a human-readable encoding of a BackupID.
|
||||
func (b BackupID) String() string {
|
||||
return fmt.Sprintf("backup(%x, %d)", b.ChanID, b.CommitHeight)
|
||||
return fmt.Sprintf("backup(%v, %d)", b.ChanID, b.CommitHeight)
|
||||
}
|
||||
|
||||
// CommittedUpdate holds a state update sent by a client along with its
|
||||
|
Loading…
Reference in New Issue
Block a user