exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit dbc4e5c5dfc13c5f5e4b48f32557392299f3d343
parent 57a53a016ba50fdada1f6441ce8fc222abfb607f
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date:   Tue,  6 Sep 2022 15:25:42 -0400

add 9th IN parameter to ‘exchange.exchange_do_purse_deposit’

* src/auditor/auditor-basedb.sql (exchange.exchange_do_purse_deposit):
  Add ‘in_reserve_expiration bigint’ as last non-OUT parameter.

Diffstat:
Msrc/auditor/auditor-basedb.sql | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auditor/auditor-basedb.sql b/src/auditor/auditor-basedb.sql @@ -3741,7 +3741,7 @@ END $$; -- Name: exchange_do_purse_deposit(bigint, bytea, bigint, integer, bytea, bytea, bigint, integer); Type: FUNCTION; Schema: exchange; Owner: - -- -CREATE FUNCTION exchange.exchange_do_purse_deposit(in_partner_id bigint, in_purse_pub bytea, in_amount_with_fee_val bigint, in_amount_with_fee_frac integer, in_coin_pub bytea, in_coin_sig bytea, in_amount_without_fee_val bigint, in_amount_without_fee_frac integer, OUT out_balance_ok boolean, OUT out_conflict boolean) RETURNS record +CREATE FUNCTION exchange.exchange_do_purse_deposit(in_partner_id bigint, in_purse_pub bytea, in_amount_with_fee_val bigint, in_amount_with_fee_frac integer, in_coin_pub bytea, in_coin_sig bytea, in_amount_without_fee_val bigint, in_amount_without_fee_frac integer, in_reserve_expiration bigint, OUT out_balance_ok boolean, OUT out_conflict boolean) RETURNS record LANGUAGE plpgsql AS $$ DECLARE