mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-05 09:46:48 +00:00
fix: Add CTID to all RPC's that includes transactions (#2011)
fixes #1998
This commit is contained in:
@@ -191,7 +191,7 @@ SubscriptionManager::unsubBook(ripple::Book const& book, SubscriberSharedPtr con
|
||||
void
|
||||
SubscriptionManager::pubTransaction(data::TransactionAndMetadata const& txMeta, ripple::LedgerHeader const& lgrInfo)
|
||||
{
|
||||
transactionFeed_.pub(txMeta, lgrInfo, backend_, amendmentCenter_);
|
||||
transactionFeed_.pub(txMeta, lgrInfo, backend_, amendmentCenter_, networkID_);
|
||||
}
|
||||
|
||||
boost::json::object
|
||||
@@ -210,4 +210,16 @@ SubscriptionManager::report() const
|
||||
};
|
||||
}
|
||||
|
||||
void
|
||||
SubscriptionManager::setNetworkID(uint32_t const networkID)
|
||||
{
|
||||
networkID_ = networkID;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
SubscriptionManager::getNetworkID() const
|
||||
{
|
||||
return networkID_;
|
||||
}
|
||||
|
||||
} // namespace feed
|
||||
|
||||
Reference in New Issue
Block a user