some corrections to batch2
This commit is contained in:
parent
6457ee56df
commit
2eb59d9135
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user