aboutsummaryrefslogtreecommitdiff
path: root/src/policy/v3_policy.h
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2024-01-23 10:30:39 +0000
committerglozow <gloriajzhao@gmail.com>2024-02-21 16:40:42 +0000
commitb5d15f764fed0b30c9113429163700dea907c2b1 (patch)
tree627906abe1ffd9e47e01a6aad08986774948d519 /src/policy/v3_policy.h
parentbaed5edeb611d949982c849461949c645f8998a7 (diff)
downloadbitcoin-b5d15f764fed0b30c9113429163700dea907c2b1.tar.xz
[refactor] return pair from SingleV3Checks
Diffstat (limited to 'src/policy/v3_policy.h')
-rw-r--r--src/policy/v3_policy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/v3_policy.h b/src/policy/v3_policy.h
index 9e871915e5..c61d8ac4cc 100644
--- a/src/policy/v3_policy.h
+++ b/src/policy/v3_policy.h
@@ -50,7 +50,7 @@ static_assert(V3_CHILD_MAX_VSIZE + MAX_STANDARD_TX_WEIGHT / WITNESS_SCALE_FACTOR
*
* @returns debug string if an error occurs, std::nullopt otherwise.
*/
-std::optional<std::string> SingleV3Checks(const CTransactionRef& ptx,
+std::optional<std::pair<std::string, CTransactionRef>> SingleV3Checks(const CTransactionRef& ptx,
const CTxMemPool::setEntries& mempool_ancestors,
const std::set<Txid>& direct_conflicts,
int64_t vsize);