diff options
Diffstat (limited to 'src/testing/testing_api_cmd_wallet_get_order.c')
-rw-r--r-- | src/testing/testing_api_cmd_wallet_get_order.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_wallet_get_order.c b/src/testing/testing_api_cmd_wallet_get_order.c index 3cdba5ff..2f595315 100644 --- a/src/testing/testing_api_cmd_wallet_get_order.c +++ b/src/testing/testing_api_cmd_wallet_get_order.c @@ -601,7 +601,7 @@ wallet_poll_order_start_run (void *cls, pos->wait_for_refund ? &pos->refund_threshold : NULL, - pos->wait_for_refund, + false, /* await_refund_obtained */ &wallet_poll_order_cb, pos); GNUNET_assert (NULL != pos->ogh); @@ -642,7 +642,7 @@ TALER_TESTING_cmd_wallet_poll_order_start ( const char *merchant_url, const char *order_ref, struct GNUNET_TIME_Relative timeout, - const struct TALER_Amount *await_refund) + const char *await_refund) { struct WalletPollOrderStartState *pos; @@ -653,7 +653,9 @@ TALER_TESTING_cmd_wallet_poll_order_start ( if (NULL != await_refund) { pos->wait_for_refund = true; - pos->refund_threshold = *await_refund; + GNUNET_assert (GNUNET_OK == + TALER_string_to_amount (await_refund, + &pos->refund_threshold)); } { struct TALER_TESTING_Command cmd = { |