Skip to content

Commit

Permalink
require
Browse files Browse the repository at this point in the history
  • Loading branch information
thomash-acinq committed Nov 23, 2022
1 parent 3e93194 commit bee3b4f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -265,7 +265,9 @@ object MultiPartHandler {
routes: Seq[Seq[PublicKey]],
router: ActorRef,
paymentPreimage_opt: Option[ByteVector32] = None,
paymentType: String = PaymentType.Blinded) extends ReceivePayment
paymentType: String = PaymentType.Blinded) extends ReceivePayment {
require(routes.forall(_.nonEmpty), "each route must have at least one node")
}

object CreateInvoiceActor {

Expand Down

0 comments on commit bee3b4f

Please sign in to comment.