diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 11:46:13 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 11:46:13 +0200 |
commit | eeece1c96d2cfb1ffe767095b832b6de55bc8c74 (patch) | |
tree | a3767f259733b4e9c3c6f3bca3c7db30c6795f23 /src/exchangedb/exchange_do_age_withdraw.sql | |
parent | 17001e445db8ca9b5490880bef18dacddc072258 (diff) | |
download | exchange-eeece1c96d2cfb1ffe767095b832b6de55bc8c74.tar.xz |
-ruuid not needed
Diffstat (limited to 'src/exchangedb/exchange_do_age_withdraw.sql')
-rw-r--r-- | src/exchangedb/exchange_do_age_withdraw.sql | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/exchangedb/exchange_do_age_withdraw.sql b/src/exchangedb/exchange_do_age_withdraw.sql index 3f1d682a4..d6ae118ae 100644 --- a/src/exchangedb/exchange_do_age_withdraw.sql +++ b/src/exchangedb/exchange_do_age_withdraw.sql @@ -32,8 +32,7 @@ CREATE OR REPLACE FUNCTION exchange_do_age_withdraw( OUT balance_ok BOOLEAN, OUT age_ok BOOLEAN, OUT required_age INT2, -- in years ϵ [0,1..) - OUT conflict BOOLEAN, - OUT ruuid INT8) + OUT conflict BOOLEAN) LANGUAGE plpgsql AS $$ DECLARE @@ -55,13 +54,11 @@ SELECT ,current_balance_frac ,gc_date ,birthday - ,reserve_uuid INTO reserve_val ,reserve_frac ,reserve_gc ,reserve_birthday - ,ruuid FROM exchange.reserves WHERE reserves.reserve_pub=rpub; @@ -73,7 +70,6 @@ THEN age_ok=FALSE; required_age=0; conflict=FALSE; - ruuid=2; RETURN; END IF; |