From e47e5c0cfba7746263775e8bbd4064b640f69020 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 29 Jul 2023 23:01:06 +0200
Subject: migration to new amount style for exchangedb

---
 src/exchangedb/exchange_do_history_request.sql | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'src/exchangedb/exchange_do_history_request.sql')

diff --git a/src/exchangedb/exchange_do_history_request.sql b/src/exchangedb/exchange_do_history_request.sql
index 5cd15bc62..726c853fb 100644
--- a/src/exchangedb/exchange_do_history_request.sql
+++ b/src/exchangedb/exchange_do_history_request.sql
@@ -35,14 +35,12 @@ BEGIN
   (reserve_pub
   ,request_timestamp
   ,reserve_sig
-  ,history_fee_val
-  ,history_fee_frac)
+  ,history_fee)
   VALUES
   (in_reserve_pub
   ,in_request_timestamp
   ,in_reserve_sig
-  ,in_history_fee.val
-  ,in_history_fee.frac)
+  ,in_history_fee)
   ON CONFLICT DO NOTHING;
 
   IF NOT FOUND
@@ -101,4 +99,3 @@ BEGIN
   out_balance_ok=TRUE;
 
 END $$;
-
-- 
cgit v1.2.3

