From 49c25d4210b79730f861bb377191ab65433e66e5 Mon Sep 17 00:00:00 2001 From: K1-R1 <77465250+K1-R1@users.noreply.github.com> Date: Sat, 11 May 2024 00:48:19 +0100 Subject: [PATCH] chore: update `wallet.rs` in-line BIP doc (#1370) This PR makes a small addition to the in-line docs of `new_from_mnemonic_phrase_with_path ` to clarify that it is not restricted to BIP32 derivation paths only. ### Checklist - [x] I have linked to any relevant issues. - [x] I have updated the documentation. - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added necessary labels. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers. Closes #1369 --- packages/fuels-accounts/src/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fuels-accounts/src/wallet.rs b/packages/fuels-accounts/src/wallet.rs index c8f2618834..ac8102ad65 100644 --- a/packages/fuels-accounts/src/wallet.rs +++ b/packages/fuels-accounts/src/wallet.rs @@ -125,7 +125,7 @@ impl WalletUnlocked { } /// Creates a new wallet from a mnemonic phrase. - /// It takes a path to a BIP32 derivation path. + /// It takes a derivation path such as BIP32 or BIP44. pub fn new_from_mnemonic_phrase_with_path( phrase: &str, provider: Option,