chore: Remove the unused decorated function in MuxRPCAPI.define

This commit is contained in:
Gergely Polonkai 2023-11-02 09:01:01 +01:00
parent ebcc94516c
commit 740762b149
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 0 additions and 6 deletions

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