From 10fdde0284b3354f38ce30e2e8fec87dcf6db840 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Thu, 2 Nov 2023 15:33:50 +0100 Subject: [PATCH] Docs --- bindings/core/src/method/wallet_command.rs | 2 +- cli/src/wallet_cli/mod.rs | 1 + sdk/src/wallet/core/mod.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/core/src/method/wallet_command.rs b/bindings/core/src/method/wallet_command.rs index 046b13dcff..e3ab0dafe4 100644 --- a/bindings/core/src/method/wallet_command.rs +++ b/bindings/core/src/method/wallet_command.rs @@ -102,7 +102,7 @@ pub enum WalletCommandMethod { #[cfg(feature = "participation")] #[cfg_attr(docsrs, doc(cfg(feature = "participation")))] GetVotingPower, - /// Returns the wallet implicit account creation address + /// Returns the implicit account creation address of the wallet if it is Ed25519 based. /// Expected response: [`Bech32Address`](crate::Response::Bech32Address) ImplicitAccountCreationAddress, /// Returns all incoming transactions of the wallet diff --git a/cli/src/wallet_cli/mod.rs b/cli/src/wallet_cli/mod.rs index ae300ad2be..5044ba6311 100644 --- a/cli/src/wallet_cli/mod.rs +++ b/cli/src/wallet_cli/mod.rs @@ -116,6 +116,7 @@ pub enum WalletCommand { /// URL of the faucet, default to . url: Option, }, + /// Returns the implicit account creation address of the wallet if it is Ed25519 based. ImplicitAccountCreationAddress, /// Mint additional native tokens. MintNativeToken { diff --git a/sdk/src/wallet/core/mod.rs b/sdk/src/wallet/core/mod.rs index 1b7bc84279..44fb61d0df 100644 --- a/sdk/src/wallet/core/mod.rs +++ b/sdk/src/wallet/core/mod.rs @@ -252,6 +252,7 @@ where self.data().await.address.clone() } + /// Returns the implicit account creation address of the wallet if it is Ed25519 based. pub async fn implicit_account_creation_address(&self) -> Result { let bech32_address = &self.data().await.address;