We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 194a9f7 + 031c792 commit 8c8662cCopy full SHA for 8c8662c
cmd/commands/commands.go
@@ -2972,19 +2972,6 @@ func exportChanBackup(ctx *cli.Context) error {
2972
2973
// TODO(roasbeef): support for export | restore ?
2974
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
2988
printRespJSON(chanBackup)
2989
2990
return nil
0 commit comments