diff --git a/electrum/util.py b/electrum/util.py index a1d7aee3e..7cb38faf8 100644 --- a/electrum/util.py +++ b/electrum/util.py @@ -1243,6 +1243,7 @@ def ignore_exceptions(func): def with_lock(func): """Decorator to enforce a lock on a function call.""" + @functools.wraps(func) def func_wrapper(self, *args, **kwargs): with self.lock: return func(self, *args, **kwargs)