Fix import of OutputSubstition in send::v2 test#802
Fix import of OutputSubstition in send::v2 test#802spacebear21 merged 1 commit intopayjoin:masterfrom
Conversation
Pull Request Test Coverage Report for Build 15862177983Details
💛 - Coveralls |
|
When does the problem occur? You linked to the problem line but output_substitution is already pub(crate) so this shouldn't be a problem? rust-payjoin/payjoin/src/lib.rs Line 60 in b7491be |
|
it's pub crate but only accessible by crate::output_substitution::OutputSubstitution, not crate::OutputSubstitution |
|
it occurs when payjoin/v2 is enabled but not payjoin/v1 |
|
Ok I see now. How come CI didn't catch that? As simple as |
|
Oh, CI just runs with |
|
We may want to follow up with a cleanup in places that currently |
|
it might make sense for me to just fully qualify that problem line since that sort of makes it more clear that it's internal; doesn't really need to be pub in that case since it's in internal use for testing. And then we don't need another cleanup. |
It's only available at crate:: when `v1` is enabled.
43c9f0f to
94c18f0
Compare
It is used in v2 tests but only exported at root with
v1featureproblem line:
rust-payjoin/payjoin/src/send/v2/session.rs
Line 98 in b7491be