This commit is contained in:
Arc
2024-12-19 13:31:06 +00:00
parent 6f44b755e4
commit fa61016ed1
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ async def create_wallet(
user=user_id,
adminkey=uuid4().hex,
inkey=uuid4().hex,
currency='USD',
currency="USD",
)
await (conn or db).insert("wallets", wallet)
return wallet
+1 -1
View File
@@ -683,4 +683,4 @@ async def m029_create_audit_table(db: Connection):
created_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now}
);
"""
)
)
+4 -1
View File
@@ -727,7 +727,10 @@ window.app = Vue.createApp({
this.$q.localStorage.set('lnbits.disclaimerShown', true)
}
// check blanace priority
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped') && this.g.wallet.currenc) {
if (
this.$q.localStorage.getItem('lnbits.isPrioritySwapped') &&
this.g.wallet.currenc
) {
this.isPrioritySwapped = this.$q.localStorage.getItem(
'lnbits.isPrioritySwapped'
)