cleanup bool usage
This commit is contained in:
parent
15bb58980a
commit
66aa82f8a8
4 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue