cleanup bool usage

This commit is contained in:
Pavol Rusnak 2022-08-31 12:01:09 +02:00
parent 15bb58980a
commit 66aa82f8a8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
4 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ func lnurlw_callback(w http.ResponseWriter, req *http.Request) {
write_error(w)
return
}
if lnurlw_timeout == true {
if lnurlw_timeout {
log.WithFields(log.Fields{"card_payment_id": p.card_payment_id}).Info("lnurlw request has timed out")
write_error(w)
return