summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-02 18:42:12 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-02 18:42:12 +0100
commit169962d769c70ee0c95a5e252959348ea3b49abd (patch)
treebfd45354a5f37a47f42a489c039fff96dce6fc57
parent84998f9d052d49839a3bba75a91c3419acd87a86 (diff)
downloadexchange-169962d769c70ee0c95a5e252959348ea3b49abd.tar.gz
exchange-169962d769c70ee0c95a5e252959348ea3b49abd.tar.bz2
exchange-169962d769c70ee0c95a5e252959348ea3b49abd.zip
lets use 52, the number of bits stored
-rw-r--r--src/util/amount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/amount.c b/src/util/amount.c
index d52a32cf6..7765c74bb 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -32,7 +32,7 @@
/**
* Maximum legal 'value' for an amount, based on IEEE double (for JavaScript compatibility).
*/
-#define MAX_AMOUNT_VALUE (1LLU << 53)
+#define MAX_AMOUNT_VALUE (1LLU << 52)
/**