Skip to content

Commit

Permalink
Merge pull request #220 from sr-gi/test-patch-sendrawtransaction
Browse files Browse the repository at this point in the history
Properly patches sendrawtransaction so it does not crash
  • Loading branch information
sr-gi authored Jul 24, 2023
2 parents 1a89c5d + 7093882 commit 59c770b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watchtower-plugin/tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_watchtower(node_factory, bitcoind, teosd):
locator = change_endianness(dispute_txid[32:])

# Make sure l2's normal penalty_tx doesn't reach the network
l2.daemon.rpcproxy.mock_rpc("sendrawtransaction", lambda: None)
l2.daemon.rpcproxy.mock_rpc("sendrawtransaction", lambda _: {"result": None, "error": None, "id": "pytest"})
l2.start()

# The tower will react once the dispute gets confirmed. For now it is still watching for it
Expand Down

0 comments on commit 59c770b

Please sign in to comment.