fix(ops): atm-transactions queried fee_percent, which no longer exists
The column was renamed to fee_fraction (schema_version 13), so the main query has been failing outright with "no such column: t.fee_percent" — the tool only ever worked in --summary and --inventory mode. Caught while reconciling sintra's cassettes, where listing transactions was the obvious first step and didn't work. Refs #40
This commit is contained in:
parent
ee28275bf3
commit
4d6ea8f163
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ sql "SELECT
|
||||||
t.fiat_cents / 100 AS 'Fiat',
|
t.fiat_cents / 100 AS 'Fiat',
|
||||||
t.sats AS 'Sats',
|
t.sats AS 'Sats',
|
||||||
t.fee_sats AS 'Fee Sats',
|
t.fee_sats AS 'Fee Sats',
|
||||||
printf('%.1f%%', t.fee_percent * 100) AS 'Fee %',
|
printf('%.1f%%', t.fee_fraction * 100) AS 'Fee %',
|
||||||
CASE WHEN t.exchange_rate > 0 THEN printf('%.0f', t.exchange_rate) ELSE '-' END AS 'Rate',
|
CASE WHEN t.exchange_rate > 0 THEN printf('%.0f', t.exchange_rate) ELSE '-' END AS 'Rate',
|
||||||
datetime(t.created_at / 1000, 'unixepoch') AS 'Time (UTC)',
|
datetime(t.created_at / 1000, 'unixepoch') AS 'Time (UTC)',
|
||||||
group_concat('Q' || tb.denomination || 'x' || tb.count) AS 'Bills'
|
group_concat('Q' || tb.denomination || 'x' || tb.count) AS 'Bills'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue