Skip to content

Commit

Permalink
Merge pull request #159 from lightninglabs/fix-makeoffer
Browse files Browse the repository at this point in the history
makeoffer: use correct keys
  • Loading branch information
guggero committed Aug 27, 2024
2 parents c6ffe38 + 1be76b0 commit 7fa66e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/chantools/zombierecovery_makeoffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (c *zombieRecoveryMakeOfferCommand) Execute(_ *cobra.Command,
return fmt.Errorf("error parsing our keys: %w", err)
}

err = matchKeys(keys1.Channels, ourPubKeys, theirPubKeys, chainParams)
err = matchKeys(ourChannels, ourPubKeys, theirPubKeys, chainParams)
if err != nil {
return err
}
Expand Down Expand Up @@ -301,7 +301,7 @@ func (c *zombieRecoveryMakeOfferCommand) Execute(_ *cobra.Command,
channel.vout = op.Index

ourPart, theirPart, err := askAboutChannel(
channel, idx+1, len(keys1.Channels), ourPayoutAddr,
channel, idx+1, len(ourChannels), ourPayoutAddr,
theirPayoutAddr,
)
if err != nil {
Expand Down

0 comments on commit 7fa66e2

Please sign in to comment.