diff --git a/src/kernel/mempool_entry.h b/src/kernel/mempool_entry.h index cd86f36698b..28c2290cb5d 100644 --- a/src/kernel/mempool_entry.h +++ b/src/kernel/mempool_entry.h @@ -138,6 +138,7 @@ public: { return GetVirtualTransactionSize(nTxWeight, sigOpCost, ::nBytesPerSigOp); } + int32_t GetAdjustedWeight() const { return GetSigOpsAdjustedWeight(nTxWeight, sigOpCost, ::nBytesPerSigOp); } int32_t GetTxWeight() const { return nTxWeight; } std::chrono::seconds GetTime() const { return std::chrono::seconds{nTime}; } unsigned int GetHeight() const { return entryHeight; }