watchtower/wtdb: fix double hex encoding of chanid

This commit is contained in:
Conner Fromknecht 2019-07-01 13:11:16 -07:00
parent 6a4179e224
commit 05107ce969
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

View File

@ -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