summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_merchant_get_order.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-11 19:19:22 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-11 19:19:22 +0200
commit906e3035a6fc8941f3a72c13ae3908b4e7f687b1 (patch)
tree8fbcfd9f0a4249ec727f7bb69b9994ca53a9b707 /src/testing/testing_api_cmd_merchant_get_order.c
parent5463f26b493405db1010576fb489e7fd98a47724 (diff)
downloadmerchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.tar.gz
merchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.tar.bz2
merchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.zip
fix #6861, maybe #6854
Diffstat (limited to 'src/testing/testing_api_cmd_merchant_get_order.c')
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_merchant_get_order.c b/src/testing/testing_api_cmd_merchant_get_order.c
index c08dd56e..ed8b966b 100644
--- a/src/testing/testing_api_cmd_merchant_get_order.c
+++ b/src/testing/testing_api_cmd_merchant_get_order.c
@@ -118,7 +118,8 @@ apply_forget (void *cls,
json_t *parent)
{
int *res = cls;
- if (GNUNET_OK !=
+
+ if (GNUNET_SYSERR ==
TALER_JSON_contract_part_forget (parent,
object_id))
*res = GNUNET_SYSERR;