mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
common/hexutil: remove redundant conversion (#21903)
This commit is contained in:
parent
28739d7863
commit
dd318fc563
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func TestUnmarshalBytes(t *testing.T) {
|
|||
if !checkError(t, test.input, err, test.wantErr) {
|
||||
continue
|
||||
}
|
||||
if !bytes.Equal(test.want.([]byte), []byte(v)) {
|
||||
if !bytes.Equal(test.want.([]byte), v) {
|
||||
t.Errorf("input %s: value mismatch: got %x, want %x", test.input, &v, test.want)
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue