Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Fix bug in example code: missing '.utils' #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/ethers.js/source/cookbook-accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Access Funds in a Mnemonic Phrase Wallet
};

let mnemonic = "radar blur cabbage chef fix engine embark joy scheme fiction master release";
let hdnode = ethers.HDNode.fromMnemonic(mnemonic);
let hdnode = ethers.utils.HDNode.fromMnemonic(mnemonic);
let node = hdnode.derivePath(walletPath.standard);

let wallet = new ethers.Wallet(node.privateKey);
Expand Down