Skip to content

Commit 292d306

Browse files
authored
Remove redundant sender imports (payjoin#626)
Both `encrypt_message_a` and `ohttp_encapsulate` are imported at the top of this file. Clippy doesnt point these our which is odd. Noticed a warning in CI [here](https://github.com/payjoin/rust-payjoin/actions/runs/14219933836/job/39845219852?pr=624#step:5:250)
2 parents e2a6f45 + 57c40f1 commit 292d306

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

payjoin/src/send/v2/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ pub(crate) fn extract_request(
254254
receiver_pubkey: HpkePublicKey,
255255
ohttp_keys: &mut OhttpKeys,
256256
) -> Result<(Request, ClientResponse), CreateRequestError> {
257-
use crate::hpke::encrypt_message_a;
258-
use crate::ohttp::ohttp_encapsulate;
259257
let hpke_ctx = HpkeContext::new(receiver_pubkey, &reply_key);
260258
let body = encrypt_message_a(
261259
body,

0 commit comments

Comments
 (0)