We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d0021 commit 16afd51Copy full SHA for 16afd51
rlp/rlpgen/gen.go
@@ -393,10 +393,6 @@ func (bctx *buildContext) makeNamedBasicOp(named *types.Named) (op, error) {
393
}
394
op.typ = named // Use the named type as the main type instead of the underlying basic type
395
396
- // For decoding, we want to decode as the underlying basic type and convert to named type
397
- // So we need to set decResultType to the underlying basic type
398
- op.decResultType = basic
399
-
400
return op, nil
401
402
0 commit comments