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

Function censoring_sendrawtx

tests/test_opening.py:1452–1453  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

1450 # Make it such that l1 and l2 cannot broadcast transactions
1451 # (mimics failing to reach the miner with replacement)
1452 def censoring_sendrawtx(r):
1453 return {'id': r['id'], 'result': {}}
1454
1455 l1.daemon.rpcproxy.mock_rpc('sendrawtransaction', censoring_sendrawtx)
1456 l2.daemon.rpcproxy.mock_rpc('sendrawtransaction', censoring_sendrawtx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected