mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add tolerance to normalize method
This commit is contained in:
parent
ba7d6b437f
commit
abebe51f69
@ -584,6 +584,7 @@ module.exports = class KeyringController extends EventEmitter {
|
||||
}
|
||||
|
||||
function normalize(address) {
|
||||
if (!address) return
|
||||
return ethUtil.addHexPrefix(address.toLowerCase())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user