Skip to content

Commit 15d982f

Browse files
committed
Add package hash to package-rbf log message
1 parent 36f5eff commit 15d982f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/validation.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,9 +1205,10 @@ bool MemPoolAccept::PackageMempoolChecks(const std::vector<CTransactionRef>& txn
12051205
"package RBF failed: " + err_tup.value().second, "");
12061206
}
12071207

1208-
LogDebug(BCLog::TXPACKAGES, "package RBF checks passed: parent %s (wtxid=%s), child %s (wtxid=%s)\n",
1208+
LogDebug(BCLog::TXPACKAGES, "package RBF checks passed: parent %s (wtxid=%s), child %s (wtxid=%s), package hash (%s)\n",
12091209
txns.front()->GetHash().ToString(), txns.front()->GetWitnessHash().ToString(),
1210-
txns.back()->GetHash().ToString(), txns.back()->GetWitnessHash().ToString());
1210+
txns.back()->GetHash().ToString(), txns.back()->GetWitnessHash().ToString(),
1211+
GetPackageHash(txns).ToString());
12111212

12121213

12131214
return true;

0 commit comments

Comments
 (0)