mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 15:20:19 +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 {
|
||||
return AddRootResult {
|
||||
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::time::Duration;
|
||||
use thiserror::Error as ThisError;
|
||||
use trust_graph::{CertificateError, PublicKeyHashable, TrustGraphError};
|
||||
use trust_graph::{CertificateError, TrustGraphError};
|
||||
|
||||
#[derive(ThisError, Debug)]
|
||||
pub enum ServiceError {
|
||||
|
Loading…
Reference in New Issue
Block a user