Skip to content

Commit

Permalink
Minor rustdoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Mar 26, 2024
1 parent 4154df0 commit fe66a39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/secrets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ impl SwapKey {
}
#[derive(Clone)]

/// For Liquid keys, first create a SwapKey and then call .into() to get the equaivalent ZKKeypair
/// let sk = SwapKey::from_reverse_account(&mnemonic.to_string(), "", Chain::LiquidTestnet, 1).unwrap()
/// let lsk: LiquidSwapKey = swap_key.into();
/// For Liquid keys, first create a SwapKey and then call .into() to get the equivalent ZKKeypair
/// let sk = SwapKey::from_reverse_account(&mnemonic.to_string(), "", Chain::LiquidTestnet, 1)?
/// let lsk: LiquidSwapKey = swap_key.try_into()?;
/// let zkkp = lsk.keypair;
#[derive(Serialize, Deserialize, Debug)]
pub struct LiquidSwapKey {
Expand Down

0 comments on commit fe66a39

Please sign in to comment.