summaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-10 19:01:26 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-11 00:23:28 +0200
commit0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7 (patch)
tree10e3bf292289263b7067a91202f71411a9897569 /src/exchange-tools
parent123d5077e99253e6c770257eb2830f2bc2aace61 (diff)
downloadexchange-0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7.tar.gz
exchange-0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7.tar.bz2
exchange-0d3758807bb2fcce4a2dd7b845b7f6bacb363fa7.zip
Better calculation of # DKs
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c9
1 files changed, 0 insertions, 9 deletions
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 */
}