aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/exchange_do_batch2_reserves_in_insert.sql2
-rw-r--r--src/exchangedb/exchange_do_batch_reserves_in_insert.sql4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql b/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql
index 417b08ebf..d341642f9 100644
--- a/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql
+++ b/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql
@@ -148,7 +148,7 @@ BEGIN
,in_exchange_account_name
,in_wire_source_h_payto
,in_expiration_date),
- (in3_reserve_pub
+ (in2_reserve_pub
,in2_wire_ref
,in2_credit_val
,in2_credit_frac
diff --git a/src/exchangedb/exchange_do_batch_reserves_in_insert.sql b/src/exchangedb/exchange_do_batch_reserves_in_insert.sql
index 4ae7f68a2..7c11bee83 100644
--- a/src/exchangedb/exchange_do_batch_reserves_in_insert.sql
+++ b/src/exchangedb/exchange_do_batch_reserves_in_insert.sql
@@ -94,9 +94,9 @@ transaction_duplicate= TRUE;
RETURN;
ELSE
-- 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;
- ROLLBACK;
+-- ROLLBACK;
RETURN;
END IF;
RETURN;