diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 15:04:57 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 15:04:57 +0200 |
commit | ddd0e0af136f694db6013abd0344f20c1931bad9 (patch) | |
tree | 143b5baf3093284c993bc453d1cfd3fd67b14aee /src/exchangedb/exchange_do_batch_withdraw.sql | |
parent | ee42b70692bfa8290dff85487d2a94c389353a33 (diff) |
-fixed typos
Diffstat (limited to 'src/exchangedb/exchange_do_batch_withdraw.sql')
-rw-r--r-- | src/exchangedb/exchange_do_batch_withdraw.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/exchange_do_batch_withdraw.sql b/src/exchangedb/exchange_do_batch_withdraw.sql index 6d3b9a11..870137e8 100644 --- a/src/exchangedb/exchange_do_batch_withdraw.sql +++ b/src/exchangedb/exchange_do_batch_withdraw.sql @@ -27,7 +27,7 @@ CREATE OR REPLACE FUNCTION exchange_do_batch_withdraw( OUT balance_ok BOOLEAN, OUT age_ok BOOLEAN, OUT allowed_maximum_age INT4, -- in years - OUT ruuid INT8 + OUT ruuid INT8) LANGUAGE plpgsql AS $$ DECLARE @@ -75,7 +75,7 @@ END IF; IF ((NOT do_age_check) OR (reserve_birthday = 0)) THEN age_ok = OK; - required_age = 0; + allowed_maximum_age = -1; ELSE -- Age requirements are formally not met: The exchange is setup to support -- age restrictions (do_age_check == TRUE) and the reserve has a |