SmartPool / contracts

MIT License
32 stars 13 forks source link

Fix short address decoding #13

Closed k06a closed 6 years ago

k06a commented 6 years ago

Example addresses:

0x0014F55A50b281EFD12294f0Cda821Bd8171e920
0x0000000000000000000000000000000000000000
k06a commented 6 years ago

@yaronvel some RLP encoder implementations could handle Solidity address type as number and some addresses with first zero bytes could be encoded with less than 20 bytes.

k06a commented 6 years ago

Created PR for develop branch https://github.com/SmartPool/contracts/pull/14