Skip to content

Commit

Permalink
Merge pull request #6896
Browse files Browse the repository at this point in the history
e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
  • Loading branch information
laanwj committed Oct 30, 2015
2 parents 725539e + e9e6163 commit d482c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txmempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class CTxMemPool
* 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
Expand Down

0 comments on commit d482c0a

Please sign in to comment.