1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00

minor: fixed comments

This commit is contained in:
pm47 2017-01-19 15:35:37 +01:00
parent 11935151a2
commit 1c8bae6336

View File

@ -747,14 +747,10 @@ class Channel(val them: ActorRef, val blockchain: ActorRef, paymentHandler: Acto
downstream ! CMD_FULFILL_HTLC(origin.htlc_id, fulfill.paymentPreimage)
downstream ! CMD_SIGN
case (None, Left(fail)) =>
log.info(s"we were the origin payer for htlc #${
htlc.id
}")
log.info(s"we were the origin payer for htlc #${htlc.id}")
context.system.eventStream.publish(PaymentFailed(self, htlc.paymentHash, fail.reason.toStringUtf8))
case (None, Right(fulfill)) =>
log.info(s"we were the origin payer for htlc #${
htlc.id
}")
log.info(s"we were the origin payer for htlc #${htlc.id}")
context.system.eventStream.publish(PaymentSent(self, htlc.paymentHash))
}
}