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

Function mock_donothing

tests/test_connection.py:2852–2853  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

2850 return {'id': r['id'], 'error': {'code': 100, 'message': 'sendrawtransaction disabled'}}
2851
2852 def mock_donothing(r):
2853 return {'id': r['id'], 'result': {'success': True}}
2854
2855 # Prevent opener from broadcasting funding tx (any tx really).
2856 l1.daemon.rpcproxy.mock_rpc('sendrawtransaction', mock_sendrawtransaction)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected