mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-23 21:04:14 +03:00
cleaning
This commit is contained in:
parent
30f0543e63
commit
56a0b21eea
@ -34,7 +34,6 @@ pub enum LocalRequest {
|
||||
///
|
||||
/// If requested, will return a NewPackageResponse indicating success/failure.
|
||||
/// This is used for locally installing a package.
|
||||
/// TODO could switch this to Erc721Metadata
|
||||
NewPackage {
|
||||
package: PackageId,
|
||||
/// Sets whether we will mirror this package for others
|
||||
@ -53,7 +52,6 @@ pub enum LocalRequest {
|
||||
/// when a new version is posted to the listings contract
|
||||
auto_update: bool,
|
||||
/// The version hash we're looking for. If None, will download the latest.
|
||||
/// TODO could switch this to more friendly version numbers e.g 1.0.1 given new metadata structure
|
||||
desired_version_hash: Option<String>,
|
||||
},
|
||||
/// Select a downloaded package and install it. Will only succeed if the
|
||||
|
@ -243,7 +243,6 @@ fn serve_paths(
|
||||
let mirrors: &Vec<NodeId> = pkg_listing
|
||||
.metadata
|
||||
.as_ref()
|
||||
// TODO better error handling - this will be common!
|
||||
.expect("Package does not have metadata")
|
||||
.properties
|
||||
.mirrors
|
||||
|
Loading…
Reference in New Issue
Block a user