diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-10-31 00:38:13 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-10-31 00:38:31 +0100 |
| commit | d482c0a7b246aa935595678a0c0e2f5ad530665b (patch) | |
| tree | 70ef1c12005b1ad98e3cff8c9bdadbf959743f89 /src | |
| parent | Merge pull request #6863 (diff) | |
| parent | Make -checkmempool=1 not fail through int32 overflow (diff) | |
| download | discoin-d482c0a7b246aa935595678a0c0e2f5ad530665b.tar.xz discoin-d482c0a7b246aa935595678a0c0e2f5ad530665b.zip | |
Merge pull request #6896
e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
Diffstat (limited to 'src')
| -rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 6aa5f6d77..7b5843a8d 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -360,7 +360,7 @@ public: * check does nothing. */ void check(const CCoinsViewCache *pcoins) const; - void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967296.0; } + void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967295.0; } // addUnchecked must updated state for all ancestors of a given transaction, // to track size/count of descendant transactions. First version of |