aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/pg_get_predicted_balance.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_predicted_balance.c
parenteb8f0be35dc2e058df213e183a935772d172e6c3 (diff)
downloadexchange-b9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd.tar.xz
migrating auditordb to use amount tuples
Diffstat (limited to 'src/auditordb/pg_get_predicted_balance.c')
-rw-r--r--src/auditordb/pg_get_predicted_balance.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/auditordb/pg_get_predicted_balance.c b/src/auditordb/pg_get_predicted_balance.c
index 07d1faae4..583a63fd4 100644
--- a/src/auditordb/pg_get_predicted_balance.c
+++ b/src/auditordb/pg_get_predicted_balance.c
@@ -48,10 +48,8 @@ TAH_PG_get_predicted_balance (void *cls,
PREPARE (pg,
"auditor_predicted_result_select",
"SELECT"
- " balance_val"
- ",balance_frac"
- ",drained_val"
- ",drained_frac"
+ " balance"
+ ",drained"
" FROM auditor_predicted_result"
" WHERE master_pub=$1;");
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,