Sometimes when running Ganache I receive status code 0x01, sometimes 0x1. Should I treat both as successful executions?
Asked
Active
Viewed 2,727 times
2
Daniel
- 359
- 4
- 16
1 Answers
6
There's no difference between 0x01 and 0x1. In hexadecimal notation 0x1, 0x01, 0x001, and so on, they all means 1. About transaction's status code, if it is set to 1 it always means a successful execution. Check this question/answer for more details.
Giuseppe Bertone
- 5,487
- 17
- 25