aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-06-23 16:50:49 +0800
committerFelix Lange <fjl@twurst.com>2017-06-27 19:15:12 +0800
commit4a741df757cf6b1d1b4c0e8c875c34b650f46167 (patch)
tree057d995a3847f9f983a4dcdf41cf3bc9fb9b82a2 /tests/block_test_util.go
parentb664bedcf21f30b54af542e0b4ba4e24c01968fd (diff)
downloadgo-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar.gz
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar.bz2
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar.lz
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar.xz
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.tar.zst
go-tangerine-4a741df757cf6b1d1b4c0e8c875c34b650f46167.zip
common/hexutil: wrap errors in json.UnmarshalTypeError
This adds type and struct field context to error messages. Instead of "hex string of odd length" users will now see "json: cannot unmarshal hex string of odd length into Go struct field SendTxArgs.from of type common.Address".
Diffstat (limited to 'tests/block_test_util.go')
0 files changed, 0 insertions, 0 deletions