mirror of
https://github.com/fluencelabs/trust-graph
synced 2025-04-25 07:42:14 +00:00
fix compilation
This commit is contained in:
parent
3bcc928a72
commit
953e0b6f0a
@ -40,7 +40,7 @@ fn add_root(pk: String, weight: u32) -> AddRootResult {
|
|||||||
} else {
|
} else {
|
||||||
return AddRootResult {
|
return AddRootResult {
|
||||||
ret_code: 1,
|
ret_code: 1,
|
||||||
error: "Root could add only a host of trust graph service",
|
error: "Root could add only a host of trust graph service".to_string(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ use std::convert::{Into, TryInto};
|
|||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use thiserror::Error as ThisError;
|
use thiserror::Error as ThisError;
|
||||||
use trust_graph::{CertificateError, PublicKeyHashable, TrustGraphError};
|
use trust_graph::{CertificateError, TrustGraphError};
|
||||||
|
|
||||||
#[derive(ThisError, Debug)]
|
#[derive(ThisError, Debug)]
|
||||||
pub enum ServiceError {
|
pub enum ServiceError {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user