aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange_do_age_withdraw.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/exchange_do_age_withdraw.sql')
-rw-r--r--src/exchangedb/exchange_do_age_withdraw.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/exchange_do_age_withdraw.sql b/src/exchangedb/exchange_do_age_withdraw.sql
index 89a291445..058531feb 100644
--- a/src/exchangedb/exchange_do_age_withdraw.sql
+++ b/src/exchangedb/exchange_do_age_withdraw.sql
@@ -53,8 +53,8 @@ SELECT current_balance
,birthday
,gc_date
INTO reserve
- FROM exchange.reserves
- WHERE reserves.reserve_pub=rpub;
+ FROM reserves
+ WHERE reserve_pub=rpub;
IF NOT FOUND
THEN
@@ -124,10 +124,10 @@ UPDATE reserves SET
gc_date=min_reserve_gc
,current_balance=balance
WHERE
- reserves.reserve_pub=rpub;
+ reserve_pub=rpub;
-- Write the commitment into the age-withdraw table
-INSERT INTO exchange.age_withdraw
+INSERT INTO age_withdraw
(h_commitment
,max_age
,amount_with_fee