Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Fix bug: when transaction finished with REVERT the txStatusCode shoul…
Browse files Browse the repository at this point in the history
…d be 0
  • Loading branch information
Nashatyrev committed Aug 31, 2017
1 parent d95fb25 commit 656301b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ public void go() {

if (result.getException() != null) {
throw result.getException();
} else {
execError("REVERT opcode executed");
}
} else {
touchedAccounts.addAll(result.getTouchedAccounts());
Expand Down

0 comments on commit 656301b

Please sign in to comment.