erigon-pulse/internal/ethapi
Marius van der Wijden 4f2558be98 common: remove ToHex and ToHexArray (#21610)
ToHex was deprecated a couple years ago. The last remaining use
was in ToHexArray, which itself only had a single call site.

This just moves ToHexArray near its only remaining call site and
implements it using hexutil.Encode. This changes the default behaviour
of ToHexArray and with it the behaviour of eth_getProof. Previously we
encoded an empty slice as 0, now the empty slice is encoded as 0x.
# Conflicts:
#	common/bytes.go
#	internal/ethapi/api.go
2020-12-03 18:59:17 +01:00
..
addrlock.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
api.go common: remove ToHex and ToHexArray (#21610) 2020-12-03 18:59:17 +01:00
backend.go fixups. make geth successful 2020-08-15 19:32:05 +02:00
get_proof.go ChangeSets dupsort (#1342) 2020-11-16 12:08:28 +00:00