mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-04 23:32:55 +00:00
correct typo in JavasScript-Console gh-page.
argument does to follow `TransactionConfig` interface.
This commit is contained in:
parent
02a0967122
commit
59e5b6d975
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ eth.getBalance(personal.listAccounts[0])
|
||||||
To send a transaction (without global account unlocking):
|
To send a transaction (without global account unlocking):
|
||||||
|
|
||||||
```js
|
```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
|
It is also possible to load pre-written Javascript files into the console by passing the `--preload` flag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue