Skip to content

Commit

Permalink
simplify revert return data
Browse files Browse the repository at this point in the history
  • Loading branch information
cdetrio committed Sep 25, 2017
1 parent 5ed376f commit 4a3c0f6
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 = runState.lastReturned = memLoad(runState, offset, length)
runState.returnValue = memLoad(runState, offset, length)
trap(ERROR.REVERT)
},
// '0x70', range - other
Expand Down

1 comment on commit 4a3c0f6

@holgerd77
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cdetrio at the time I made this change it fixed a test, is it clear that this is now set somewhere else?

Please sign in to comment.