mirror of
https://github.com/talaia-labs/rust-teos.git
synced 2026-08-13 12:33:22 +02:00
Merge pull request #220 from sr-gi/test-patch-sendrawtransaction
Properly patches sendrawtransaction so it does not crash
This commit is contained in:
commit
59c770b25b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue