mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-27 09:00:27 +00:00
fix: Add CTID to all RPC's that includes transactions (#2011)
fixes #1998
This commit is contained in:
committed by
Sergey Kuznetsov
parent
208b3e8f8a
commit
1dff0421f2
@@ -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