Skip to content

Commit

Permalink
Add error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Sep 9, 2024
1 parent 55c0679 commit a413b8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rusk-wallet/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ impl<F: SecureWalletFile + Debug> Wallet<F> {
/// Returns phoenix key pair for a given address
///
/// # Errors
/// -
///
/// - If the Address provided is not a Phoenix address
/// - If the address is not owned
pub fn phoenix_keys(
&self,
addr: &Address,
Expand Down
1 change: 1 addition & 0 deletions wallet-core/src/moonlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pub fn moonlight(
/// which is obtained via stake info query on the chain
///
/// The `nonce` is the nonce of the moonlight transaction
///
/// # Errors
///
/// This function most likey not fail but if the `nonce` is incorrect
Expand Down

0 comments on commit a413b8c

Please sign in to comment.