e54e88ee2f
In this commit, we fix a lingering protocol level bug when reporting errors encountered during onion blob processing. The spec states that if one sends an UpdateFailMalformedHtlc, then the error reason MUST have the BadOnion bit set. Before this commit, we would return CodeTemporaryChannelFailure. This is incorrect as this doesn’t have the BadOnio bit set. |
||
---|---|---|
.. | ||
circuit_test.go | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mailbox_test.go | ||
mailbox.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |