diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-02 18:42:12 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-02 18:42:12 +0100 |
commit | 169962d769c70ee0c95a5e252959348ea3b49abd (patch) | |
tree | bfd45354a5f37a47f42a489c039fff96dce6fc57 /src/util | |
parent | 84998f9d052d49839a3bba75a91c3419acd87a86 (diff) | |
download | exchange-169962d769c70ee0c95a5e252959348ea3b49abd.tar.xz |
lets use 52, the number of bits stored
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/amount.c | 2 |
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) /** |