Skip to content

Commit

Permalink
failure->failureReason
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 committed Nov 30, 2020
1 parent 7c3bf95 commit c7ca7b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class ChannelRelay private(nodeParams: NodeParams,
channelInfo.channelUpdate,
relayResult match {
case _: RelaySuccess => "success"
case RelayFailure(CMD_FAIL_HTLC(_, Right(failure), _, _)) => failure
case RelayFailure(CMD_FAIL_HTLC(_, Right(failureReason), _, _)) => failureReason
case other => other
})
(shortChannelId, channelInfo, relayResult)
Expand Down

0 comments on commit c7ca7b0

Please sign in to comment.