cancelHoldInvoice method

Future<NwcResponse> cancelHoldInvoice(
  1. NwcConnection connection, {
  2. required String paymentHash,
})

Does a cancel_hold_invoice request

Implementation

Future<NwcResponse> cancelHoldInvoice(NwcConnection connection,
    {required String paymentHash}) async {
  return _executeRequest<NwcResponse>(
      connection, CancelHoldInvoiceRequest(paymentHash: paymentHash));
}