diff --git a/src/packages/ganache/README.md b/src/packages/ganache/README.md index 815c908a1e..6955f9eb23 100644 --- a/src/packages/ganache/README.md +++ b/src/packages/ganache/README.md @@ -163,10 +163,11 @@ server.listen(PORT, err => { console.log(`ganache listening on port ${PORT}...`); const provider = server.provider; - const accounts = await provider.request({ + provider.request({ method: "eth_accounts", params: [] - }); + }).then(accounts => console.log(accounts)); + }); ```