summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_withdraw.c
diff options
context:
space:
mode:
authorMarco Boss <bossm8@bfh.ch>2022-03-14 20:06:07 +0100
committerMarco Boss <bossm8@bfh.ch>2022-03-14 20:06:07 +0100
commit7529939a0f7af04c9435cd985a3d4729935634e1 (patch)
tree5a5dccb30ad8be058ab0910d163994fefc73e842 /src/exchange/taler-exchange-httpd_withdraw.c
parent687f0cab82869216289c62ac42acd9c8a6bbf59f (diff)
downloadexchange-7529939a0f7af04c9435cd985a3d4729935634e1.tar.gz
exchange-7529939a0f7af04c9435cd985a3d4729935634e1.tar.bz2
exchange-7529939a0f7af04c9435cd985a3d4729935634e1.zip
add metrics for number of crypto operations
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
index ac47824e5..4811b6833 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -489,6 +489,7 @@ TEH_handler_withdraw (struct TEH_RequestContext *rc,
NULL);
}
+ TEH_METRICS_num_verifications[TEH_MT_EDDSA]++;
if (GNUNET_OK !=
TALER_wallet_withdraw_verify (&wc.collectable.denom_pub_hash,
&wc.collectable.amount_with_fee,
@@ -525,7 +526,7 @@ TEH_handler_withdraw (struct TEH_RequestContext *rc,
if (GNUNET_OK !=
TEH_DB_run_transaction (rc->connection,
"run withdraw",
- TEH_MT_WITHDRAW,
+ TEH_MT_REQUEST_WITHDRAW,
&mhd_ret,
&withdraw_transaction,
&wc))