summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-09 15:18:10 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-09 15:18:10 +0200
commitb606c988d589e66b6dd4d26fec553921540c0e2f (patch)
tree12b1530f1811cb68b519471c04c055def4424250
parentb43ad0704ee7cba98743efab1aef72d936273649 (diff)
downloadmerchant-b606c988d589e66b6dd4d26fec553921540c0e2f.tar.gz
merchant-b606c988d589e66b6dd4d26fec553921540c0e2f.tar.bz2
merchant-b606c988d589e66b6dd4d26fec553921540c0e2f.zip
make db testcase fail, as a reminder of refund logic incomplete.
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index bea9221d..ee2180dd 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1902,6 +1902,8 @@ postgres_increase_refund_for_contract (void *cls,
TALER_B2S (&coin_pub),
TALER_amount_to_string (&amount_with_fee),
TALER_amount_to_string (&refunded_amount));
+ /*NOTE: this makes testcase fail. To keep around until logic has been written*/
+ return GNUNET_SYSERR;
}
if (GNUNET_OK != postgres_commit (cls))