Fix QR encoding type

This commit is contained in:
Nadav Ivgi 2018-03-05 21:47:02 +02:00
parent 9ef7bb97ba
commit e2ae521c6a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ else
p: a.btn.btn-lg.btn-primary(href=`lightning:${invoice.payreq}`) Pay now
.qr.col-sm-4.mb-3: img(src=qruri('lightning:'+invoice.payreq, { mode: 'alphanumeric', margin: 0 }))
.qr.col-sm-4.mb-3: img(src=qruri('lightning:'+invoice.payreq.toUpperCase(), { margin: 0 }))
//- long-pull payment updates via <img> reloading hack. not the prettiest, but extremely terse, and it works
img.d-none(src='_invoice/'+invoice.id+'/longpoll.png', onerror='this.src=this.src', onload='location.reload()')