aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-02 18:49:57 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-02 18:49:57 +0100
commitdded43aafad25963eb5f46a77c3cbc0fc986cd9d (patch)
tree8f94a8891ed8b90fca926d20ed65b3f2e5527f04 /src/exchangedb
parent0d286379135f90b253bd5428f9bab887cf794180 (diff)
-fix wad_fee
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/pg_insert_records_by_table.c4
-rw-r--r--src/exchangedb/pg_lookup_records_by_table.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/exchangedb/pg_insert_records_by_table.c b/src/exchangedb/pg_insert_records_by_table.c
index 47b368318..0ac70bae3 100644
--- a/src/exchangedb/pg_insert_records_by_table.c
+++ b/src/exchangedb/pg_insert_records_by_table.c
@@ -1052,11 +1052,9 @@ irbt_cb_table_wire_fee (struct PostgresClosure *pg,
",wire_fee_frac"
",closing_fee_val"
",closing_fee_frac"
- ",wad_fee_val"
- ",wad_fee_frac"
",master_sig"
") VALUES "
- "($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11);");
+ "($1, $2, $3, $4, $5, $6, $7, $8, $9);");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"insert_into_table_wire_fee",
params);
diff --git a/src/exchangedb/pg_lookup_records_by_table.c b/src/exchangedb/pg_lookup_records_by_table.c
index e28edef07..57c7c2b07 100644
--- a/src/exchangedb/pg_lookup_records_by_table.c
+++ b/src/exchangedb/pg_lookup_records_by_table.c
@@ -2543,8 +2543,6 @@ TEH_PG_lookup_records_by_table (void *cls,
",wire_fee_frac"
",closing_fee_val"
",closing_fee_frac"
- ",wad_fee_val"
- ",wad_fee_frac"
",master_sig"
" FROM wire_fee"
" WHERE wire_fee_serial > $1"