mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
69baa465ea
mist, etheruem have been moved to cmd/
12 lines
168 B
Go
12 lines
168 B
Go
package helper
|
|
|
|
import "github.com/ethereum/go-ethereum/ethutil"
|
|
|
|
func FromHex(h string) []byte {
|
|
if ethutil.IsHex(h) {
|
|
h = h[2:]
|
|
}
|
|
|
|
return ethutil.Hex2Bytes(h)
|
|
}
|