mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-06 19:03:35 +01:00
In this commit, we fix a slight regression that happened when the sendtoroute RPC call was implemented. As a result of the refactoring, the debughtlc mode silently broke. In this commit, we fix this by checking against the zero hash, rather than the length of the payment hash, as since we use a fixed sized byte slice, it will always be zero.
121 KiB
121 KiB