commit a80d94ea0769069604e973265badaf1a602fa37f
parent 7fd6be5cef06d0bd495f4e03d33c4d6f04c36131
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 18 Nov 2016 14:58:16 +0100
change fractional base to 1e8
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h
@@ -52,14 +52,14 @@ extern "C"
* Note that we need sub-cent precision here as transaction fees might
* be that low, and as we want to support microdonations.
*/
-#define TALER_AMOUNT_FRAC_BASE 1000000
+#define TALER_AMOUNT_FRAC_BASE 100000000
/**
* @brief How many digits behind the comma are required to represent the
* fractional value in human readable decimal format? Must match
* lg(#TALER_AMOUNT_FRAC_BASE).
*/
-#define TALER_AMOUNT_FRAC_LEN 6
+#define TALER_AMOUNT_FRAC_LEN 8
GNUNET_NETWORK_STRUCT_BEGIN