aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-07-22 07:46:49 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-07-22 07:46:49 +0100
commit92de74ef181b42d774bc6b12329bc0c27caf0081 (patch)
treeb74164ae04cabb0d96e701458814d799b38d0949 /src/txmempool.h
parentd23fda05842ba4539b225bbab01b94df0060f697 (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.h2
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