mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
4f2558be98
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 |
||
---|---|---|
.. | ||
build | ||
cmdtest | ||
debug | ||
ethapi | ||
flags | ||
guide | ||
jsre | ||
testlog | ||
utesting | ||
web3ext |