MCPcopy Create free account
hub / github.com/ElementsProject/lightning / mock_sendrawtransaction

Function mock_sendrawtransaction

tests/test_plugin.py:2510–2511  ·  view source on GitHub ↗
(tx)

Source from the content-addressed store, hash-verified

2508
2509 # Make sure l2's normal penalty_tx doesn't reach the network
2510 def mock_sendrawtransaction(tx):
2511 print("NOT broadcasting", tx)
2512
2513 l2.daemon.rpcproxy.mock_rpc('sendrawtransaction', mock_sendrawtransaction)
2514

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected