Skip to content

Commit

Permalink
feat: implemented Clone for PjUriBuilder (#323)
Browse files Browse the repository at this point in the history
Implements clone for PjUriBuilder struct.

Fixes #322
  • Loading branch information
DanGould authored Jul 18, 2024
2 parents d9c76dd + 3b5bda9 commit 4131551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions payjoin/src/uri/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ impl<'a> UriExt<'a> for Uri<'a, NetworkChecked> {
///
/// Payjoin receiver can use this builder to create a payjoin
/// uri to send to the sender.
#[derive(Clone)]
pub struct PjUriBuilder {
/// Address you want to receive funds to.
address: Address,
Expand Down

0 comments on commit 4131551

Please sign in to comment.