mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-04 19:13:48 +00:00
eip55: consistent JS syntax
This commit is contained in:
parent
389b0f5651
commit
93ddda2dd6
@ -52,7 +52,7 @@ In javascript:
|
||||
const createKeccakHash = require('keccak')
|
||||
|
||||
function toChecksumAddress (address) {
|
||||
address = address.toLowerCase().replace('0x','');
|
||||
address = address.toLowerCase().replace('0x', '')
|
||||
var hash = createKeccakHash('keccak256').update(address).digest('hex')
|
||||
var ret = '0x'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user