mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
Order book subscribe cleanups.
This commit is contained in:
@@ -2609,6 +2609,7 @@ bool NetworkOPsImp::subBook (InfoSub::ref isrListener, RippleCurrency const& cur
|
||||
BookListeners::pointer listeners =
|
||||
getApp().getOrderBookDB ().makeBookListeners (currencyPays, currencyGets, issuerPays, issuerGets);
|
||||
|
||||
assert (listeners);
|
||||
if (listeners)
|
||||
listeners->addSubscriber (isrListener);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user