diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:29:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:29:55 +0100 |
commit | d1d767f8ddb3d980cb231666b7cfb4de496843d6 (patch) | |
tree | 0af038e312df57fd4e671b6072af0eed35c75cfb | |
parent | 011b7f5bcd3e3edcc5ae321df1f205fde7d202e5 (diff) |
init risk, notes
-rw-r--r-- | src/auditor/taler-auditor.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index 34f860ee1..afb912b96 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -1055,6 +1055,8 @@ struct CoinContext /** * Current financial risk of the exchange operator with respect * to key compromise. + * + * TODO: not yet properly used! */ struct TALER_Amount risk; @@ -1943,6 +1945,7 @@ analyze_coins (void *cls) /* setup 'cc' */ // FIXME: FIX misnomer "denomination_summary", as this is no longer exactly about denominations! + // FIXME: combine request with the one for the 'risk' summary? dret = adb->get_denomination_summary (adb->cls, asession, &master_pub, @@ -1981,7 +1984,9 @@ analyze_coins (void *cls) } if (GNUNET_NO == dret) { - /* FIXME: initialize cc->risk by other means... */ + GNUNET_assert (GNUNET_OK == + TALER_amount_get_zero (currency, + &cc.risk)); } cc.coins = GNUNET_CONTAINER_multihashmap_create (1024, |