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.
1 parent 4c20560 commit ed3dd7fCopy full SHA for ed3dd7f
availability-oracle/src/main.rs
@@ -12,14 +12,14 @@ use contract::*;
12
use ipfs::*;
13
use manifest::{Abi, DataSource, Manifest, Mapping};
14
use network_subgraph::*;
15
+use secp256k1::key::SecretKey;
16
use std::sync::Arc;
17
use std::time::{Duration, Instant};
18
use std::{fmt::Display, str::FromStr};
19
use structopt::StructOpt;
20
use tiny_cid::Cid;
21
use tokio::time::MissedTickBehavior;
22
use util::bytes32_to_cid_v0;
-use secp256k1::key::SecretKey;
23
24
fn parse_secs(secs: &str) -> Result<Duration, Error> {
25
Ok(Duration::from_secs(u64::from_str(secs)?))
0 commit comments