summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-12 17:37:21 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-12 17:37:21 +0200
commit98c381cd5bac33eb01248911cb125aaaa047507b (patch)
tree8017246a1f80781cee35cba36c4c8fc7d0d0320b /src/backenddb/plugin_merchantdb_postgres.c
parentceef3f90b575b11bd20c95105828bd41f6f04e1b (diff)
downloadmerchant-98c381cd5bac33eb01248911cb125aaaa047507b.tar.gz
merchant-98c381cd5bac33eb01248911cb125aaaa047507b.tar.bz2
merchant-98c381cd5bac33eb01248911cb125aaaa047507b.zip
comments, plus invalidating testcase as reminder of
unimplemented logic
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index c30508ab..813ee00c 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1973,7 +1973,10 @@ process_deposits_cb (void *cls,
}
/*Always commit the smallest as refund*/
- // FIXME, missing the db INSERT
+
+ /*FIXME, insert refund into table; make temporariliy testcase fail*/
+ ctx->err = GNUNET_SYSERR;
+ return;
/*FIXME: bug, this erases currency too.*/