From a80d94ea0769069604e973265badaf1a602fa37f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 18 Nov 2016 14:58:16 +0100 Subject: change fractional base to 1e8 --- src/include/taler_amount_lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index 7468fb444..5a59c10ce 100644 --- 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 -- cgit v1.2.3