Skip to content

Commit

Permalink
Do not crash if not using EIP 155
Browse files Browse the repository at this point in the history
  • Loading branch information
BTChip github committed Jul 29, 2018
1 parent 6fe4705 commit 29a2b97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src_genericwallet/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,8 @@ uint32_t getV(txContent_t *txContent) {
v = (txContent->v[0] << 24) | (txContent->v[1] << 16) |
(txContent->v[2] << 8) | txContent->v[3];
}
else {
else
if (txContent->vLength != 0) {
PRINTF("Unexpected v format\n");
THROW(EXCEPTION);
}
Expand Down

0 comments on commit 29a2b97

Please sign in to comment.