From 0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 10 Apr 2019 19:01:26 +0200 Subject: Better calculation of # DKs --- src/exchange-tools/taler-exchange-keyup.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/exchange-tools') diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 8b6d32ac8..28e2ea1d0 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -439,21 +439,12 @@ get_anchor (const char *dir, } else if (anchor->abs_value_us != now.abs_value_us) { - - /** - * XXX-ANCHOR question: why adding the duration only in this - * case, and not _all the times we found a anchor_ ? Like for - * instance, below out of this block? - * - */ *anchor = GNUNET_TIME_absolute_add (*anchor, duration); *anchor = GNUNET_TIME_absolute_subtract (*anchor, overlap); } - /* ==>Missing to add the duration to the anchor here?<== */ - /* anchor is now the stamp where we need to create a new key */ } -- cgit v1.2.3