mirror of
https://github.com/guggero/chantools.git
synced 2026-08-13 12:33:34 +02:00
Merge pull request #159 from lightninglabs/fix-makeoffer
makeoffer: use correct keys
This commit is contained in:
commit
7fa66e2415
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue