mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
pytest: Fix lint error
This commit is contained in:
@@ -233,7 +233,8 @@ class SimpleBitcoinProxy:
|
||||
# Create a callable to do the actual call
|
||||
proxy = BitcoinProxy(btc_conf_file=self.__btc_conf_file__)
|
||||
|
||||
f = lambda *args: proxy._call(name, *args)
|
||||
def f(*args):
|
||||
return proxy._call(name, *args)
|
||||
|
||||
# Make debuggers show <function bitcoin.rpc.name> rather than <function
|
||||
# bitcoin.rpc.<lambda>>
|
||||
|
||||
Reference in New Issue
Block a user