some corrections to batch2

This commit is contained in:
Joseph 2023-01-04 07:44:34 -05:00
parent 6457ee56df
commit 2eb59d9135
No known key found for this signature in database
GPG Key ID: E709789D3076B5CC
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ BEGIN
,in_exchange_account_name ,in_exchange_account_name
,in_wire_source_h_payto ,in_wire_source_h_payto
,in_expiration_date), ,in_expiration_date),
(in3_reserve_pub (in2_reserve_pub
,in2_wire_ref ,in2_wire_ref
,in2_credit_val ,in2_credit_val
,in2_credit_frac ,in2_credit_frac

View File

@ -94,9 +94,9 @@ transaction_duplicate= TRUE;
RETURN; RETURN;
ELSE ELSE
-- Unhappy... -- Unhappy...
RAISE EXCEPTION 'Reserve did not exist, but INSERT into reserves_in gave conflict'; -- RAISE EXCEPTION 'Reserve did not exist, but INSERT into reserves_in gave conflict';
transaction_duplicate = TRUE; transaction_duplicate = TRUE;
ROLLBACK; -- ROLLBACK;
RETURN; RETURN;
END IF; END IF;
RETURN; RETURN;