mirror of
https://github.com/callebtc/electronwall.git
synced 2026-02-23 08:04:54 +01:00
Merge pull request #14 from ziggie1984/bugfix-htlcevent
bugfix htlcevent
This commit is contained in:
@@ -38,6 +38,7 @@ func (app *App) getHtlcForwardEvent(ctx context.Context, event *routerrpc.Forwar
|
||||
channelEdgeTo, err := app.lnd.getPubKeyFromChannel(ctx, event.OutgoingRequestedChanId)
|
||||
if err != nil {
|
||||
log.Errorf("[forward] Error getting pubkey for channel %s", ParseChannelID(event.OutgoingRequestedChanId))
|
||||
return types.HtlcForwardEvent{}, err
|
||||
}
|
||||
if channelEdgeTo.Node1Pub != app.myInfo.IdentityPubkey {
|
||||
pubkeyTo = channelEdgeTo.Node1Pub
|
||||
|
||||
Reference in New Issue
Block a user