mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
rlp: delete unreachable code
This commit is contained in:
parent
4a307160d5
commit
ec0c2b2532
1 changed files with 0 additions and 1 deletions
|
|
@ -152,7 +152,6 @@ func makeDecoder(typ reflect.Type, tags tags) (dec decoder, err error) {
|
||||||
switch {
|
switch {
|
||||||
case typ == rawValueType:
|
case typ == rawValueType:
|
||||||
return decodeRawValue, nil
|
return decodeRawValue, nil
|
||||||
return decodeDecoder, nil
|
|
||||||
case typ.AssignableTo(reflect.PtrTo(bigInt)):
|
case typ.AssignableTo(reflect.PtrTo(bigInt)):
|
||||||
return decodeBigInt, nil
|
return decodeBigInt, nil
|
||||||
case typ.AssignableTo(bigInt):
|
case typ.AssignableTo(bigInt):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue