summaryrefslogtreecommitdiffstats
path: root/core/data.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/data.go')
-rw-r--r--core/data.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/data.go b/core/data.go
index 4d18604..e3fd560 100644
--- a/core/data.go
+++ b/core/data.go
@@ -151,8 +151,6 @@ func Decode(buf io.Reader) (any, error) {
default:
return nil, fmt.Errorf("invalid payload type: %v", pType)
}
-
- return pType, nil
}
func decodeNumeric(buf io.Reader, ptr any) error {