fedimint_load_test_tool

Function client_create_invoice

Source
pub(crate) async fn client_create_invoice(
    client: &ClientHandleArc,
    invoice_amount: Amount,
    event_sender: &UnboundedSender<MetricEvent>,
    ln_gateway: Option<LightningGateway>,
) -> Result<(OperationId, Bolt11Invoice)>