Skip to content

Commit

Permalink
Merge pull request #12 from MutinyWallet/clone
Browse files Browse the repository at this point in the history
Derive clone for PaymentParams
  • Loading branch information
benthecarman authored Jan 9, 2024
2 parents 0769fba + cafef10 commit 8faa020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion waila-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use nostr::prelude::ToBech32;
use std::str::FromStr;
use wasm_bindgen::prelude::*;

#[derive(Debug)]
#[derive(Debug, Clone)]
#[wasm_bindgen]
pub struct PaymentParams {
string: String,
Expand Down
2 changes: 1 addition & 1 deletion waila/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use crate::nwa::NIP49URI;
mod bip21;
mod nwa;

#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum PaymentParams<'a> {
OnChain(Address),
Bip21(UnifiedUri<'a>),
Expand Down

0 comments on commit 8faa020

Please sign in to comment.