Cleaning up watchonly

This commit is contained in:
benarc
2021-02-23 14:31:05 +00:00
parent 6e4f8431b7
commit be6ee64b4e
4 changed files with 14 additions and 247 deletions
+1 -20
View File
@@ -2,18 +2,7 @@ async def m001_initial(db):
"""
Initial wallet table.
"""
await db.execute(
"""
CREATE TABLE IF NOT EXISTS wallets (
id TEXT NOT NULL PRIMARY KEY,
user TEXT,
masterpub TEXT NOT NULL,
title TEXT NOT NULL,
address_no INTEGER NOT NULL DEFAULT 0,
balance INTEGER NOT NULL
);
"""
)
await db.execute(
"""
@@ -29,12 +18,4 @@ async def m001_initial(db):
time TIMESTAMP NOT NULL DEFAULT (strftime('%s', 'now'))
);
"""
)
await db.execute(
"""
CREATE TABLE IF NOT EXISTS mempool (
user TEXT NOT NULL,
endpoint TEXT NOT NULL
);
"""
)
@@ -170,6 +170,14 @@
label="Time (secs)"
> </q-input>
<q-input
filled
dense
v-model.trim="formDialogCharge.data.webhook"
type="url"
label="Webhook"
> </q-input>
<div class="row">
<div class="col">
<div v-if="walletLinks.length > 0">
@@ -375,7 +383,7 @@
.then(function (response) {
for (i = 0; i < response.data.length; i++) {
self.walletLinks.push(response.data[i].title + " " + response.data[i].id)
self.walletLinks.push(response.data[i].id)
}
console.log(self.walletLinks)