routing: return full htlc attempt from shard handler

This commit is contained in:
Joost Jager
2020-05-06 15:44:36 +02:00
parent 8e7c0757ec
commit cc37485432
6 changed files with 76 additions and 41 deletions

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.