correct typo in JavasScript-Console gh-page.

argument does to follow  `TransactionConfig` interface.
This commit is contained in:
Manu Shamil 2022-11-29 10:38:34 +05:30
parent 02a0967122
commit 59e5b6d975
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ eth.getBalance(personal.listAccounts[0])
To send a transaction (without global account unlocking):
```js
eth.sendTransaction({to: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(0.5, "ether")})
eth.sendTransaction({ from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(0.5, "ether")})
```
It is also possible to load pre-written Javascript files into the console by passing the `--preload` flag