fix flake8 W291 (trailing whitespace)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:44 +00:00
parent bc36e6bc4c
commit 421214bc36
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ async def m001_initial(db):
payhash TEXT,
payload TEXT NOT NULL,
pin INT,
sats {db.big_int},
sats {db.big_int},
timestamp TIMESTAMP NOT NULL DEFAULT {db.timestamp_now}
);
"""
+1 -1
View File
@@ -139,7 +139,7 @@ async def m001_initial(db):
id_conversation TEXT NOT NULL,
timestamp TIMESTAMP NOT NULL DEFAULT """
+ db.timestamp_now
+ """
+ """
);
"""
)
+1 -1
View File
@@ -33,7 +33,7 @@ async def m002_add_charge_extra_data(db):
Add 'extra' column for storing various config about the charge (JSON format)
"""
await db.execute(
"""ALTER TABLE satspay.charges
"""ALTER TABLE satspay.charges
ADD COLUMN extra TEXT DEFAULT '{"mempool_endpoint": "https://mempool.space", "network": "Mainnet"}';
"""
)
+1 -1
View File
@@ -30,7 +30,7 @@ async def m001_initial(db):
"""
CREATE TABLE watchonly.mempool (
"user" TEXT NOT NULL,
endpoint TEXT NOT NULL
endpoint TEXT NOT NULL
);
"""
)