diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposit.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c index 66cbe04ca..b1c91f76c 100644 --- a/src/exchange/taler-exchange-httpd_deposit.c +++ b/src/exchange/taler-exchange-httpd_deposit.c @@ -382,6 +382,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, deposit.deposit_fee = dk->meta.fees.deposit; /* check coin signature */ + TEH_METRICS_num_verifications[TEH_MT_CIPHER]++; if (GNUNET_YES != TALER_test_coin_valid (&deposit.coin, &dk->denom_pub)) @@ -405,6 +406,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, NULL); } + TEH_METRICS_num_verifications[TEH_MT_EDDSA]++; if (GNUNET_OK != TALER_wallet_deposit_verify (&deposit.amount_with_fee, &deposit.deposit_fee, @@ -472,7 +474,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, if (GNUNET_OK != TEH_DB_run_transaction (connection, "execute deposit", - TEH_MT_DEPOSIT, + TEH_MT_REQUEST_DEPOSIT, &mhd_ret, &deposit_transaction, &dc)) |