Update dev-mode.md (#22295)

remove deprecated flags
This commit is contained in:
jtlimpert 2021-02-15 13:38:13 -05:00 committed by GitHub
parent 1d63d7bc06
commit 4a82e814ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ mkdir test-chain-dir
For this guide, start geth in dev mode, and enable [RPC](../../_rpc/server.md) so you can connect other applications to geth. For this guide, we use Remix, the web-based Ethereum IDE, so also allow its domains to accept cross-origin requests.
```shell
geth --datadir test-chain-dir --rpc --dev --rpccorsdomain "https://remix.ethereum.org,http://remix.ethereum.org"
geth --datadir test-chain-dir --http --dev --http.corsdomain "https://remix.ethereum.org,http://remix.ethereum.org"
```
Connect to the IPC console on the node from another terminal window: