mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 14:44:22 +01:00
routing: return full htlc attempt from shard handler
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user