Fix number of arguments in SQL query

This commit is contained in:
wiz
2022-07-10 17:24:43 +02:00
parent 9000b6b18e
commit 9c6a28d9b0

View File

@@ -250,7 +250,7 @@ class LightningStatsUpdater {
med_fee_rate,
med_base_fee_mtokens
)
VALUES (NOW(), ?, ?, ?, ?, ?, ?)`;
VALUES (NOW(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`;
await DB.query(query, [
networkGraph.channels.length,