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

Function mock_sendrawtransaction

tests/test_wallet.py:224–227  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

222 wait_for(lambda: len(l1.rpc.listfunds()['outputs']) == 1)
223
224 def mock_sendrawtransaction(r):
225 return {'id': r['id'],
226 'error': {'code': 100,
227 'message': 'feerate below mempool minimum: 251 < 253'}}
228
229 l1.daemon.rpcproxy.mock_rpc('sendrawtransaction', mock_sendrawtransaction)
230

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected