RootKeystring`long:"rootkey" description:"BIP32 HD root key of the wallet that should be used to create the backup. Leave empty to prompt for lnd 24 word aezeed."`
ChannelDBstring`long:"channeldb" description:"The lnd channel.db file to create the backup from."`
MultiFilestring`long:"multi_file" description:"The lnd channel.backup file to create."`
}
func(c*chanBackupCommand)Execute(_[]string)error{
setupChainParams(cfg)
var(
extendedKey*hdkeychain.ExtendedKey
errerror
)
// Check that root key is valid or fall back to console input.