diff --git a/rusk-wallet/src/wallet.rs b/rusk-wallet/src/wallet.rs index 47f178c487..ae1cad2ff7 100644 --- a/rusk-wallet/src/wallet.rs +++ b/rusk-wallet/src/wallet.rs @@ -86,7 +86,9 @@ impl Wallet { /// 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, diff --git a/wallet-core/src/moonlight.rs b/wallet-core/src/moonlight.rs index 7dea5b6a39..f7e2e887b3 100644 --- a/wallet-core/src/moonlight.rs +++ b/wallet-core/src/moonlight.rs @@ -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