diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 98f39c549..7e46f1570 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -2052,7 +2052,7 @@ func parseChanPoint(s string) (*lnrpc.ChannelPoint, error) { return nil, errBadChanPoint } - index, err := strconv.ParseInt(split[1], 10, 32) + index, err := strconv.ParseInt(split[1], 10, 64) if err != nil { return nil, fmt.Errorf("unable to decode output index: %v", err) }