(l1, routestep)
| 256 | } |
| 257 | |
| 258 | def onepay(l1, routestep): |
| 259 | phash = random.randbytes(32).hex() |
| 260 | l1.rpc.sendpay([routestep], phash) |
| 261 | with pytest.raises(RpcError, match="WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS"): |
| 262 | l1.rpc.waitsendpay(phash) |
| 263 | |
| 264 | benchmark(onepay, l1, routestep) |
| 265 |
nothing calls this directly
no test coverage detected