mirror of https://github.com/ethereum/go-ethereum
common: delete StringToAddress, StringToHash (#16436)
* common: delete StringToAddress, StringToHash These functions are confusing because they don't parse hex, but use the bytes of the string. This change removes them, replacing all uses of StringToAddress(s) by BytesToAddress([]byte(s)). * eth/filters: remove incorrect use of common.BytesToAddresspull/16481/head
parent
149f706fde
commit
c7ab3e5544
Loading…
Reference in new issue