fix: Forwarded stream ignores specified api_version (#3010)

This commit is contained in:
Alex Kremer
2026-03-24 15:34:44 +00:00
committed by GitHub
parent 7238cc8799
commit 4b37493bc0
6 changed files with 201 additions and 48 deletions

View File

@@ -233,8 +233,8 @@ SubscriptionSource::handleMessage(std::string const& message)
} else {
if (isForwarding_) {
// Clio as rippled's proposed_transactions subscriber, will receive two jsons for
// each transaction 1 - Proposed transaction 2 - Validated transaction Only forward
// proposed transaction, validated transactions are sent by Clio itself
// each transaction 1 - Proposed transaction 2 - Validated transaction.
// Only forward proposed transaction, validated transactions are sent by Clio itself
if (object.contains(JS(transaction)) and !object.contains(JS(meta))) {
LOG(log_.debug()) << "Forwarding proposed transaction: " << object;
subscriptions_->forwardProposedTransaction(object);