diff --git a/lightningd/peer_htlcs.c b/lightningd/peer_htlcs.c index c6da906fd..e52dc6d06 100644 --- a/lightningd/peer_htlcs.c +++ b/lightningd/peer_htlcs.c @@ -421,10 +421,10 @@ static void htlc_offer_timeout(struct channel *channel) return; log_unusual(channel->owner->log, - "Adding HTLC too slow: killing channel"); + "Adding HTLC too slow: killing connection"); tal_free(channel->owner); channel_set_billboard(channel, false, - "Adding HTLC timed out: killed channel"); + "Adding HTLC timed out: killed connection"); } enum onion_type send_htlc_out(struct channel *out, diff --git a/tests/test_misc.py b/tests/test_misc.py index 2f9891804..28ded1cf7 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -936,7 +936,7 @@ def test_htlc_send_timeout(node_factory, bitcoind): assert not l2.daemon.is_in_log(r'channeld.*:\[IN\] 0013') assert not l2.daemon.is_in_log(r'channeld.*:\[OUT\] 0084') # L2 killed the channel with l3 because it was too slow. - l2.daemon.wait_for_log('channeld-{}.*Adding HTLC too slow: killing channel'.format(l3.info['id'])) + l2.daemon.wait_for_log('channeld-{}.*Adding HTLC too slow: killing connection'.format(l3.info['id'])) def test_ipv4_and_ipv6(node_factory):