summaryrefslogtreecommitdiffstats
path: root/core/data.go
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-05-16 22:40:12 +0200
committerbt <bt@rctt.net>2026-05-16 22:46:48 +0200
commit4f6c84085795b32b07a42e47dff1a8b8956ecbb9 (patch)
treeba896ee49635843c51c08b6afb84a030b34a3c59 /core/data.go
parent82902e9dc3ad67c49e4f9381b83d38a659efa083 (diff)
downloadsolec-4f6c84085795b32b07a42e47dff1a8b8956ecbb9.tar.gz
solec-4f6c84085795b32b07a42e47dff1a8b8956ecbb9.zip
Return channel history only if user is connected to it
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 {