Merge pull request #430 from arcbtc/FastAPI

added lnaddresss for testing
This commit is contained in:
Arc 2021-11-24 09:57:05 +00:00 committed by GitHub
commit b9f3f35718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -148,7 +148,7 @@ async def api_lnurlw_callback(
return {"status": "ERROR", "reason": "no withdraw"}
if link.used:
return {"status": "ERROR", "reason": "spent"}
print("winner")
paylink = await get_satsdice_pay(link.satsdice_pay)
await update_satsdice_withdraw(link.id, used=1)

View File

@ -329,7 +329,8 @@
chanceValueCalc() {
this.chanceValue = (
(1 / this.multiValue) * 100 -
this.formDialog.data.haircut
this.formDialog.data.haircut -
(1 / this.multiValue) * 10
).toFixed(2)
return this.chanceValue
}
@ -446,7 +447,7 @@
key === 'success_url') &&
(value === null || value === '')
)
LNbits.api
.request(
'PUT',