Browse Source

Make -checkmempool=1 not fail through int32 overflow

tags/v0.15.1
Pieter Wuille 4 years ago
parent
commit
e9e616323b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/txmempool.h

+ 1
- 1
src/txmempool.h View File

@@ -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

Loading…
Cancel
Save