Skip to content

Commit f6d4a61

Browse files
authored
Fix import of OutputSubstition in send::v2 test (payjoin#802)
It is used in v2 tests but only exported at root with `v1` feature problem line: https://github.com/payjoin/rust-payjoin/blob/b7491be795a3a7d636af6d6da9cd9202414e7293/payjoin/src/send/v2/session.rs#L98
2 parents b7491be + 94c18f0 commit f6d4a61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

payjoin/src/send/v2/session.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ mod tests {
9393
use payjoin_test_utils::PARSED_ORIGINAL_PSBT;
9494

9595
use super::*;
96+
use crate::output_substitution::OutputSubstitution;
9697
use crate::send::v2::HpkeContext;
9798
use crate::send::{v1, PsbtContext};
98-
use crate::{HpkeKeyPair, OutputSubstitution};
99+
use crate::HpkeKeyPair;
99100

100101
#[test]
101102
fn test_sender_session_event_serialization_roundtrip() {

0 commit comments

Comments
 (0)