diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2017-07-31 18:22:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-31 18:22:02 +0800 |
commit | bdf98b4fcdb7f7c800568fa32bafe03a070c5802 (patch) | |
tree | 47b2610f3f1300470de12739eb6847b05f6260f7 /mobile/primitives.go | |
parent | c259e6874ece4ff3b6ee7b1ce77f58e64db1fb34 (diff) | |
parent | 688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a (diff) | |
download | dexon-bdf98b4fcdb7f7c800568fa32bafe03a070c5802.tar.gz dexon-bdf98b4fcdb7f7c800568fa32bafe03a070c5802.tar.zst dexon-bdf98b4fcdb7f7c800568fa32bafe03a070c5802.zip |
common: EIP55-compliant Address.Hex() (#14815)
This patch updates the Address type in common/types.go so that the Hex
function provides an EIP55-compliant output string. The implementation is pretty lightweight;
on my laptop the benchmark gives 1100ns/op, with the majority of that value due to the Keccak hash.
Diffstat (limited to 'mobile/primitives.go')
0 files changed, 0 insertions, 0 deletions