Closed cryptolarity closed 6 years ago
This is likely as simple as checking for the 0x
prefix before trimming the first two chars. These screenshots demonstrate that replacing the first chars yields the same account, so it seems like those first two chars are being trimmed no matter what they are.
We should probably validate the length of the key too (are they fixed?), and the characters themselves. It accepts all sorts of random stuff, like just 0x12
for example:
Or random non-hex chars:
What needs to be done on the UI here? Do I just search for 0x
and remove it? or do I add it if its not there?
We want to make sure:
Where is this one at?
I haven't started on this one yet.
I'm looking into this one now.
When generating an ETH private key from MEW it omits the '0x' and results in generating a different public address when inputting into the 'Send tx' portion of the GO wallet.