Skip to content

Commit

Permalink
Typo fixes from Alex's review
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Myers <[email protected]>
  • Loading branch information
rustyrussell and endothermicdev committed May 9, 2024
1 parent c5faae4 commit f34b63f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_pay.py
Original file line number Diff line number Diff line change
Expand Up @@ -4727,19 +4727,19 @@ def test_pay_blockheight_mismatch(node_factory, bitcoind):
"""Test that we can send a payment even if not caught up with the chain.
We removed the requirement for the node to be fully synced up with
th eblockcain in v24.05, allowing us to send a payment while still
the blockchain in v24.05, allowing us to send a payment while still
processing blocks. This test pins the sender at a lower height,
but `getnetworkinfo` still reports the correct height. Since CLTV
computations are based on headers and not our own sync height, the
recipient should still be appy with the parameters we chose.
recipient should still be happy with the parameters we chose.
"""

send, direct, recv = node_factory.line_graph(3, wait_for_announce=True)
sync_blockheight(bitcoind, [send, recv])

# Pin `send` at the current height. by not returning the next
# blockhash. This error is special-cased not to cound as the
# blockhash. This error is special-cased not to count as the
# backend failing since it is used to poll for the next block.
def mock_getblockhash(req):
return {
Expand Down

0 comments on commit f34b63f

Please sign in to comment.