mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
pytest: Fix lint error
This commit is contained in:
parent
3372228cad
commit
f505a9418b
@ -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>>
|
||||
|
Loading…
Reference in New Issue
Block a user