Closed cindyyan317 closed 1 month ago
Attention: Patch coverage is 61.11111%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 65.52%. Comparing base (
a8c90a3
) to head (f499033
).
Files | Patch % | Lines |
---|---|---|
src/rpc/handlers/Subscribe.hpp | 22.22% | 0 Missing and 7 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix #1133 When subscribing the same stream twice with different api version parameter, the Clio would ignore the second request. Thus, the api version change would not take effect. In this PR, mimic rippled's behavior. No matter the stream is subscribed or not, the session's api version will always be updated by the latest subscribe api. Detail: https://github.com/XRPLF/rippled/blob/develop/src/ripple/rpc/handlers/Subscribe.cpp#L113