summaryrefslogtreecommitdiff
path: root/src/lib/test_merchant_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/test_merchant_api.c')
-rw-r--r--src/lib/test_merchant_api.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index b45799b1..b7383b21 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -1582,7 +1582,6 @@ cleanup_state (struct InterpreterState *is)
}
break;
case OC_HISTORY:
-
if (NULL != cmd->details.history.ho)
{
TALER_MERCHANT_history_cancel (cmd->details.history.ho);
@@ -1590,6 +1589,14 @@ cleanup_state (struct InterpreterState *is)
}
break;
+ case OC_REFUND_INCREASE:
+ if (NULL != cmd->details.refund_increase.rio)
+ {
+ TALER_MERCHANT_refund_increase_cancel (cmd->details.refund_increase.rio);
+ cmd->details.refund_increase.rio = NULL;
+ }
+ break;
+
default:
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Shutdown: unknown instruction %d at %u (%s)\n",