fix couple of warnings
This commit is contained in:
parent
053be3d631
commit
4b7cd140b7
|
@ -49,8 +49,6 @@ impl RawClientCore {
|
||||||
lock_time: Option<u32>,
|
lock_time: Option<u32>,
|
||||||
expiry_height: Option<u32>,
|
expiry_height: Option<u32>,
|
||||||
) -> Result<GlobalTransaction, String> {
|
) -> Result<GlobalTransaction, String> {
|
||||||
use chain;
|
|
||||||
use keys;
|
|
||||||
use global_script::Builder as ScriptBuilder;
|
use global_script::Builder as ScriptBuilder;
|
||||||
|
|
||||||
// overwinter is active atm => assume that all new transactions are created for sapling era
|
// overwinter is active atm => assume that all new transactions are created for sapling era
|
||||||
|
|
|
@ -131,8 +131,8 @@ pub use work::{work_required, is_valid_proof_of_work, is_valid_proof_of_work_has
|
||||||
pub use deployments::Deployments;
|
pub use deployments::Deployments;
|
||||||
pub use tree_cache::TreeCache;
|
pub use tree_cache::TreeCache;
|
||||||
|
|
||||||
/// Blocks verification level.
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
/// Blocks verification level.
|
||||||
pub struct VerificationLevel: u32 {
|
pub struct VerificationLevel: u32 {
|
||||||
/// Base level: perform full block verification.
|
/// Base level: perform full block verification.
|
||||||
const FULL = 0x00000001;
|
const FULL = 0x00000001;
|
||||||
|
|
Loading…
Reference in New Issue