diff --git a/lib/wallet.js b/lib/wallet.js index 23ac8dc87..7f8bedc8f 100644 --- a/lib/wallet.js +++ b/lib/wallet.js @@ -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], diff --git a/package.json b/package.json index 36aefbf00..4e71c181a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ethers-wallet", - "version": "1.0.8", + "version": "1.0.9", "description": "Ethereum wallet library.", "main": "index.js", "scripts": {