Skip to content

Commit

Permalink
removing unwanted code from transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Jul 4, 2021
1 parent 402fd0f commit 24268f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/web3-eth-accounts/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ Accounts.prototype.signTransaction = function signTransaction(tx, privateKey, ca

try {
var transaction = helpers.formatters.inputCallFormatter(Object.assign({},tx));
transaction.to = transaction.data || '0x';
transaction.data = transaction.data || '0x';
transaction.value = transaction.value || '0x';
transaction.gasLimit = transaction.gasLimit || transaction.gas;
Expand Down

0 comments on commit 24268f4

Please sign in to comment.