From 169962d769c70ee0c95a5e252959348ea3b49abd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 2 Nov 2017 18:42:12 +0100 Subject: [PATCH] lets use 52, the number of bits stored --- src/util/amount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) /**