routing: return full htlc attempt from shard handler

This commit is contained in:
Joost Jager committed 2020-05-12 19:56:50 +02:00
1 parent 8e7c0757ec
commit cc37485432
6 files changed
+76 -41

No files matched your search

+1 -1
View File
@@ -1827,7 +1827,7 @@ func (r *ChannelRouter) SendToRoute(hash lntypes.Hash, rt *route.Route) (
// We got a successful result.
if result.err == nil {
return result.preimage, nil
return result.attempt.Settle.Preimage, nil
}
// The shard failed, break switch to handle it.