diff --git a/docs/source/logic.rst b/docs/source/logic.rst index c2819e4e..09b52f82 100644 --- a/docs/source/logic.rst +++ b/docs/source/logic.rst @@ -265,7 +265,8 @@ Functions const mnemonic = "mother clarify push liquid ordinary social track ..."; const provider = new JsonRpcProvider("http://localhost:1600/"); const wallet = new Wallet(provider); - return await wallet.fromMnemonic(mnemonic); + await wallet.fromMnemonic(mnemonic); + return wallet; } const logicId = "0x0800007d70c34ed6ec4384c75d469894052647a078b33ac0f08db0d3751c1fce29a49a";