watchtower/wtclient: fix linter issue

This commit is contained in:
Olaoluwa Osuntokun 2019-03-19 17:03:17 -07:00
parent c48790ff89
commit 8e3a8f2d01
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

@ -560,8 +560,8 @@ func (q *sessionQueue) sendStateUpdate(conn wtserver.Peer,
// TODO(conner): handle other error cases properly, ban towers, etc.
default:
err := fmt.Errorf("received error code %s in "+
"StateUpdateReply from tower=%x session=%s",
err := fmt.Errorf("received error code %v in "+
"StateUpdateReply from tower=%x session=%v",
stateUpdateReply.Code,
conn.RemotePub().SerializeCompressed(), q.ID())
log.Warnf("Unable to upload state update: %v", err)