bsc/internal/ethapi
Marius van der Wijden 3eebf34038
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.
2020-11-04 11:20:39 +01:00
..
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go common: remove ToHex and ToHexArray (#21610) 2020-11-04 11:20:39 +01:00
backend.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00