chore: Remove the unused decorated function in MuxRPCAPI.define

This commit is contained in:
2023-11-02 09:01:01 +01:00
parent ebcc94516c
commit 740762b149

View File

@@ -1,7 +1,5 @@
"""MuxRPC"""
from functools import wraps
from ssb.packet_stream import PSMessageType
@@ -157,10 +155,6 @@ class MuxRPCAPI:
def _handle(f):
self.handlers[name] = f
@wraps(f)
def _f(*args, **kwargs):
return f(*args, **kwargs)
return f
return _handle