Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzushioh authored May 13, 2018
1 parent 835d709 commit 43ee46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ do {
}

// Send some ether
let rawTransaction = RawTransaction(ether: "0.15", address: wallet.generateAddress(), nonce: 0)
let rawTransaction = RawTransaction(ether: "0.15", to: address, gasPrice: Converter.toWei(GWei: 10), gasLimit: 21000, nonce: 0)
let tx = try wallet.signTransaction(rawTransaction)

geth.sendRawTransaction(rawTransaction: tx) { result in
Expand Down

0 comments on commit 43ee46a

Please sign in to comment.