2

Sometimes when running Ganache I receive status code 0x01, sometimes 0x1. Should I treat both as successful executions?

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.