summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-18 14:58:16 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-18 14:58:16 +0100
commita80d94ea0769069604e973265badaf1a602fa37f (patch)
treea8949da56d8bd51b89b02193df3c78b742d33c0f /src/include
parent7fd6be5cef06d0bd495f4e03d33c4d6f04c36131 (diff)
downloadexchange-a80d94ea0769069604e973265badaf1a602fa37f.tar.gz
exchange-a80d94ea0769069604e973265badaf1a602fa37f.tar.bz2
exchange-a80d94ea0769069604e973265badaf1a602fa37f.zip
change fractional base to 1e8
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_amount_lib.h4
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