web3swift
web3swift copied to clipboard
fix: get chain_id with hex strip
Summary of Changes
Strip the prefix when casting a hex string to BigUInt
By submitting this pull request, you are confirming the following:
- I have reviewed the Contribution Guidelines.
- I have performed a self-review of my own code.
- I have updated my repository to match the
developbranch. - I have included test data or screenshots that prove my fix is effective or that my feature works.
- I have checked that all tests work and swiftlint is not throwing any errors/warnings.