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:
Michael Schmoock
2021-01-17 13:48:36 +01:00
committed by Rusty Russell
parent 3a0b1c5b1d
commit bdf0d60fd6
3 changed files with 4 additions and 4 deletions

View File

@@ -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'):