EthereumSigningOutput get wrong hexString #2548
-
Describe the bug To Reproduce
Expected behavior Additional context
therefore, I tried to comment out these terms to get data from my terms. HexString after EthereumSigningOutput.encoded.hexString looks something like that:
i can see amount here: 000000000000000000000000000000000000000000000000de0b6b3a76400000 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Apparently your amount conversion logic is wrong.
Closing. |
Beta Was this translation helpful? Give feedback.
-
Hi @catenocrypt |
Beta Was this translation helpful? Give feedback.
-
I recommend to use BigInt package, and:
|
Beta Was this translation helpful? Give feedback.
-
Hi @catenocrypt |
Beta Was this translation helpful? Give feedback.
-
Note: I have updated our reference iOS sample app to use BigInt, instead of hardcoded hex values it uses now cleanly converted amount: |
Beta Was this translation helpful? Give feedback.
-
Hi Friends</> Trust you are good! If you have ever contributed to Wallet Core or any of our open-source projects, you deserve some accolades and I am happy to chat about this! Pls, drop your contact, and I will reach out or shoot me an email: [email protected] or connect with me on: Let’s talk! |
Beta Was this translation helpful? Give feedback.
I recommend to use BigInt package, and: