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

Function mock_sendrawtransaction

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

Source from the content-addressed store, hash-verified

2847 sync_blockheight(bitcoind, [l1, l2, l3])
2848
2849 def mock_sendrawtransaction(r):
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}}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected