mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Allow warnings (#2627)
This commit is contained in:
committed by
DemiMarie-parity
parent
85ce4623ce
commit
b9c39d771a
@@ -533,7 +533,6 @@ impl<B: Block, C, E, I, Error, SO> SlotWorker<B> for BabeWorker<C, E, I, SO> whe
|
||||
/// This digest item will always return `Some` when used with `as_babe_seal`.
|
||||
//
|
||||
// FIXME #1018 needs misbehavior types
|
||||
#[forbid(warnings)]
|
||||
fn check_header<B: Block + Sized, C: AuxStore>(
|
||||
client: &Arc<C>,
|
||||
slot_now: u64,
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
//! number (this is num(signal) + N). When finalizing a block, we either apply
|
||||
//! or prune any signaled changes based on whether the signaling block is
|
||||
//! included in the newly-finalized chain.
|
||||
#![forbid(warnings)]
|
||||
#![allow(deprecated)] // FIXME #2532: remove once the refactor is done https://github.com/paritytech/substrate/issues/2532
|
||||
|
||||
use futures::prelude::*;
|
||||
use log::{debug, info, warn};
|
||||
|
||||
Reference in New Issue
Block a user