Skip to content

Commit

Permalink
Revert 3123
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Nov 13, 2019
1 parent 22df832 commit c3bfcac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ Released with 1.0.0-beta.37 code base.

### Fixed

- Fix perfect gas usage causes tx to error (#3175)
- Fix TS types for eth.subscribe syncing, newBlockHeaders, pendingTransactions (#3159)
- Improve web3-eth-abi decodeParameters error message (#3134)
2 changes: 1 addition & 1 deletion packages/web3-core-method/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ Method.prototype._confirmTransaction = function(defer, result, payload) {
.then(function(receipt) {
if (!isContractDeployment && !promiseResolved) {
if (!receipt.outOfGas &&
(!gasProvided || gasProvided !== utils.numberToHex(receipt.gasUsed)) &&
(!gasProvided || gasProvided !== receipt.gasUsed) &&
(receipt.status === true || receipt.status === '0x1' || typeof receipt.status === 'undefined')) {
defer.eventEmitter.emit('receipt', receipt);
defer.resolve(receipt);
Expand Down

0 comments on commit c3bfcac

Please sign in to comment.