summaryrefslogtreecommitdiff
path: root/src/auditordb/pg_get_reserve_info.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-30 12:01:51 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-30 12:02:04 +0200
commitb9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd (patch)
tree99b71aede2ffce5efce4593f77ff10876fae9fa6 /src/auditordb/pg_get_reserve_info.c
parenteb8f0be35dc2e058df213e183a935772d172e6c3 (diff)
downloadexchange-b9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd.tar.gz
exchange-b9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd.tar.bz2
exchange-b9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd.zip
migrating auditordb to use amount tuples
Diffstat (limited to 'src/auditordb/pg_get_reserve_info.c')
-rw-r--r--src/auditordb/pg_get_reserve_info.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/auditordb/pg_get_reserve_info.c b/src/auditordb/pg_get_reserve_info.c
index 6beb0c8de..3cfc3a613 100644
--- a/src/auditordb/pg_get_reserve_info.c
+++ b/src/auditordb/pg_get_reserve_info.c
@@ -71,20 +71,13 @@ TAH_PG_get_reserve_info (void *cls,
PREPARE (pg,
"auditor_reserves_select",
"SELECT"
- " reserve_balance_val"
- ",reserve_balance_frac"
- ",reserve_loss_val"
- ",reserve_loss_frac"
- ",withdraw_fee_balance_val"
- ",withdraw_fee_balance_frac"
- ",close_fee_balance_val"
- ",close_fee_balance_frac"
- ",purse_fee_balance_val"
- ",purse_fee_balance_frac"
- ",open_fee_balance_val"
- ",open_fee_balance_frac"
- ",history_fee_balance_val"
- ",history_fee_balance_frac"
+ " reserve_balance"
+ ",reserve_loss"
+ ",withdraw_fee_balance"
+ ",close_fee_balance"
+ ",purse_fee_balance"
+ ",open_fee_balance"
+ ",history_fee_balance"
",expiration_date"
",auditor_reserves_rowid"
",origin_account"