mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Fix unused import warnings (#2775)
This commit is contained in:
parent
0e6a249126
commit
3c400f7e2a
3 changed files with 2 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1,3 +1,5 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "adler32"
|
name = "adler32"
|
||||||
version = "1.0.3"
|
version = "1.0.3"
|
||||||
|
|
|
@ -17,7 +17,6 @@ use croaring::Bitmap;
|
||||||
use crate::core::hash::Hash;
|
use crate::core::hash::Hash;
|
||||||
use crate::core::BlockHeader;
|
use crate::core::BlockHeader;
|
||||||
use crate::ser::PMMRable;
|
use crate::ser::PMMRable;
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
/// Storage backend for the MMR, just needs to be indexed by order of insertion.
|
/// Storage backend for the MMR, just needs to be indexed by order of insertion.
|
||||||
/// The PMMR itself does not need the Backend to be accurate on the existence
|
/// The PMMR itself does not need the Backend to be accurate on the existence
|
||||||
|
|
|
@ -22,7 +22,6 @@ use crate::core::merkle_proof::MerkleProof;
|
||||||
use crate::core::pmmr::{Backend, ReadonlyPMMR};
|
use crate::core::pmmr::{Backend, ReadonlyPMMR};
|
||||||
use crate::core::BlockHeader;
|
use crate::core::BlockHeader;
|
||||||
use crate::ser::{PMMRIndexHashable, PMMRable};
|
use crate::ser::{PMMRIndexHashable, PMMRable};
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
/// 64 bits all ones: 0b11111111...1
|
/// 64 bits all ones: 0b11111111...1
|
||||||
const ALL_ONES: u64 = u64::MAX;
|
const ALL_ONES: u64 = u64::MAX;
|
||||||
|
|
Loading…
Reference in a new issue