Skip to content

Commit d9904c7

Browse files
committed
f Remove uneeded arg in v1
1 parent b36bca9 commit d9904c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

payjoin-cli/src/app/v1.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ impl App {
104104
let pj_part = payjoin::Url::parse(pj_part)
105105
.map_err(|e| anyhow!("Failed to parse pj_endpoint: {}", e))?;
106106

107-
// None is needed for for the OhttpKeys because we fetch `payjoin-io` which fetch `v2`
108-
// feature from `payjoin` crate by default.
109-
let pj_uri = PjUriBuilder::new(pj_receiver_address, pj_part, None).amount(amount).build();
107+
let pj_uri = PjUriBuilder::new(pj_receiver_address, pj_part).amount(amount).build();
110108

111109
Ok(pj_uri.to_string())
112110
}

0 commit comments

Comments
 (0)