docs: proper port flag for miner

This commit is contained in:
Marius van der Wijden 2021-03-09 10:08:28 +01:00 committed by GitHub
parent b5d0fbf69d
commit 6ac69c8c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ Now start geth and wait for it to sync the blockchain. This will take quite a wh
Now we're ready to start mining. In a new terminal session, run ethminer and connect it to geth:
ethminer -G -P http://127.0.0.1:8545
ethminer -G -p http://127.0.0.1:8545
`ethminer` communicates with geth on port 8545 (the default RPC port in geth). You can
change this by giving the [`--http.port` option](../rpc/server) to `geth`. Ethminer will find