mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-25 06:05:53 +00:00
rebase subscriptionManager
This commit is contained in:
@@ -81,6 +81,15 @@ getJson(ripple::STBase const& obj)
|
||||
return value.as_object();
|
||||
}
|
||||
|
||||
boost::json::value
|
||||
getJson(Json::Value const& value)
|
||||
{
|
||||
boost::json::value boostValue =
|
||||
boost::json::parse(value.toStyledString());
|
||||
|
||||
return boostValue;
|
||||
}
|
||||
|
||||
boost::json::object
|
||||
getJson(ripple::TxMeta const& meta)
|
||||
{
|
||||
|
||||
@@ -87,4 +87,4 @@ SubscriptionManager::pubTransaction(
|
||||
for (ripple::AccountID const& account : accounts)
|
||||
for (auto const& session: accountSubscribers_[account])
|
||||
session->send(boost::json::serialize(pubMsg));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user