mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
chore: fix typo in openchannel hook log
Nit: The underscore in "openchannel_hook" is wrong, bcause the name of the hook is just "openchannel". The "_hook" implied this to be part of the name. Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
3a0b1c5b1d
commit
bdf0d60fd6
@@ -644,7 +644,7 @@ def test_openchannel_hook_chaining(node_factory, bitcoind):
|
||||
l1, l2 = node_factory.line_graph(2, fundchannel=False, opts=opts)
|
||||
l1.fundwallet(10**6)
|
||||
|
||||
hook_msg = "openchannel2?_hook rejects and says '"
|
||||
hook_msg = "openchannel2? hook rejects and says '"
|
||||
# 100005sat fundchannel should fail fatal() for l2
|
||||
# because hook_accepter.py rejects on that amount 'for a reason'
|
||||
with pytest.raises(RpcError, match=r'They sent error channel'):
|
||||
|
||||
Reference in New Issue
Block a user