diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-18 14:58:16 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-18 14:58:16 +0100 |
commit | a80d94ea0769069604e973265badaf1a602fa37f (patch) | |
tree | a8949da56d8bd51b89b02193df3c78b742d33c0f /src | |
parent | 7fd6be5cef06d0bd495f4e03d33c4d6f04c36131 (diff) |
change fractional base to 1e8
Diffstat (limited to 'src')
-rw-r--r-- | src/include/taler_amount_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |