Skip to content

Commit

Permalink
Also add the REVERT error message to the returndata buffer (no change…
Browse files Browse the repository at this point in the history
… in test failures)
  • Loading branch information
holgerd77 committed Sep 22, 2017
1 parent 7498eb4 commit ab90781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opFns.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ module.exports = {
length = utils.bufferToInt(length)

runState.stopped = true
runState.returnValue = memLoad(runState, offset, length)
runState.returnValue = runState.lastReturned = memLoad(runState, offset, length)
trap(ERROR.REVERT)
},
// '0x70', range - other
Expand Down

0 comments on commit ab90781

Please sign in to comment.