diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-07-22 07:46:49 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-07-22 07:46:49 +0100 |
commit | 92de74ef181b42d774bc6b12329bc0c27caf0081 (patch) | |
tree | b74164ae04cabb0d96e701458814d799b38d0949 /src/txmempool.h | |
parent | d23fda05842ba4539b225bbab01b94df0060f697 (diff) |
refactor: Make more transaction size variables signed
This change gets rid of `static_cast`s and compiler warnings.
Diffstat (limited to 'src/txmempool.h')
-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 846def02cd..a1867eb895 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -442,7 +442,7 @@ private: * * @return all in-mempool ancestors, or an error if any ancestor or descendant limits were hit */ - util::Result<setEntries> CalculateAncestorsAndCheckLimits(size_t entry_size, + util::Result<setEntries> CalculateAncestorsAndCheckLimits(int64_t entry_size, size_t entry_count, CTxMemPoolEntry::Parents &staged_ancestors, const Limits& limits |