Skip to content

Commit 18ef40f

Browse files
committed
Fix incorrect parameter in rescuefunding
1 parent 4a633da commit 18ef40f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/chantools/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
const (
2525
defaultAPIURL = "https://blockstream.info/api"
26-
version = "0.4.0"
26+
version = "0.4.1"
2727
)
2828

2929
var (

cmd/chantools/rescuefunding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (c *rescueFundingCommand) Execute(_ []string) error {
9494
if len(c.ConfirmedOutPoint) == 0 {
9595
chainOp = dbOp
9696
} else {
97-
chainOp, err = lnd.ParseOutpoint(c.ChannelPoint)
97+
chainOp, err = lnd.ParseOutpoint(c.ConfirmedOutPoint)
9898
if err != nil {
9999
return fmt.Errorf("error parsing confirmed channel "+
100100
"point: %v", err)

0 commit comments

Comments
 (0)