Skip to content

Commit 8c8662c

Browse files
authored
Merge pull request #10384 from starius/rm-dead-code
lncli: remove dead code
2 parents 194a9f7 + 031c792 commit 8c8662c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

cmd/commands/commands.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,19 +2972,6 @@ func exportChanBackup(ctx *cli.Context) error {
29722972

29732973
// TODO(roasbeef): support for export | restore ?
29742974

2975-
var chanPoints []string
2976-
for _, chanPoint := range chanBackup.MultiChanBackup.ChanPoints {
2977-
txid, err := chainhash.NewHash(chanPoint.GetFundingTxidBytes())
2978-
if err != nil {
2979-
return err
2980-
}
2981-
2982-
chanPoints = append(chanPoints, wire.OutPoint{
2983-
Hash: *txid,
2984-
Index: chanPoint.OutputIndex,
2985-
}.String())
2986-
}
2987-
29882975
printRespJSON(chanBackup)
29892976

29902977
return nil

0 commit comments

Comments
 (0)