mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
Fix bug: api version change does not affect the subscribed session (#1404)
Fix #1133
This commit is contained in:
@@ -224,10 +224,9 @@ public:
|
||||
/**
|
||||
* @brief Subscribe to the transactions feed.
|
||||
* @param subscriber
|
||||
* @param apiVersion The api version of feed to subscribe.
|
||||
*/
|
||||
void
|
||||
subTransactions(SubscriberSharedPtr const& subscriber, std::uint32_t apiVersion);
|
||||
subTransactions(SubscriberSharedPtr const& subscriber);
|
||||
|
||||
/**
|
||||
* @brief Unsubscribe to the transactions feed.
|
||||
@@ -240,10 +239,9 @@ public:
|
||||
* @brief Subscribe to the transactions feed, only receive the feed when particular account is affected.
|
||||
* @param account The account to watch.
|
||||
* @param subscriber
|
||||
* @param apiVersion The api version of feed to subscribe.
|
||||
*/
|
||||
void
|
||||
subAccount(ripple::AccountID const& account, SubscriberSharedPtr const& subscriber, std::uint32_t apiVersion);
|
||||
subAccount(ripple::AccountID const& account, SubscriberSharedPtr const& subscriber);
|
||||
|
||||
/**
|
||||
* @brief Unsubscribe to the transactions feed for particular account.
|
||||
@@ -257,10 +255,9 @@ public:
|
||||
* @brief Subscribe to the transactions feed, only receive feed when particular order book is affected.
|
||||
* @param book The book to watch.
|
||||
* @param subscriber
|
||||
* @param apiVersion The api version of feed to subscribe.
|
||||
*/
|
||||
void
|
||||
subBook(ripple::Book const& book, SubscriberSharedPtr const& subscriber, std::uint32_t apiVersion);
|
||||
subBook(ripple::Book const& book, SubscriberSharedPtr const& subscriber);
|
||||
|
||||
/**
|
||||
* @brief Unsubscribe to the transactions feed for particular order book.
|
||||
|
||||
Reference in New Issue
Block a user