Fix data bug for sendTransaction (was not incuded).

This commit is contained in:
ricmoo 2017-01-27 15:49:15 -05:00
parent 3a0d79b1e4
commit 9def4a6170
2 changed files with 2 additions and 1 deletions

@ -238,6 +238,7 @@ utils.defineProperty(Wallet.prototype, 'sendTransaction', function(transaction)
Promise.all([gasPrice, nonce]).then(function(results) {
var signedTransaction = self.sign({
to: transaction.to,
data: transaction.data,
gasLimit: gasLimit,
gasPrice: results[0],
nonce: results[1],

@ -1,6 +1,6 @@
{
"name": "ethers-wallet",
"version": "1.0.8",
"version": "1.0.9",
"description": "Ethereum wallet library.",
"main": "index.js",
"scripts": {