Skip to content

Commit d482c0a

Browse files
committed
Merge pull request #6896
e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
2 parents 725539e + e9e6163 commit d482c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/txmempool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class CTxMemPool
360360
* check does nothing.
361361
*/
362362
void check(const CCoinsViewCache *pcoins) const;
363-
void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967296.0; }
363+
void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967295.0; }
364364

365365
// addUnchecked must updated state for all ancestors of a given transaction,
366366
// to track size/count of descendant transactions. First version of

0 commit comments

Comments
 (0)