mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
Migrate finality-grandpa to the 2018 edition (#1797)
This commit is contained in:
committed by
Robert Habermeier
parent
c122e8eee8
commit
34e3487035
@@ -36,7 +36,8 @@ use client::{
|
||||
error::{Error as ClientError, ErrorKind as ClientErrorKind, Result as ClientResult},
|
||||
light::fetcher::RemoteCallRequest,
|
||||
};
|
||||
use codec::{Encode, Decode};
|
||||
use parity_codec::{Encode, Decode};
|
||||
use parity_codec_derive::{Encode, Decode};
|
||||
use grandpa::BlockNumberOps;
|
||||
use runtime_primitives::generic::BlockId;
|
||||
use runtime_primitives::traits::{
|
||||
@@ -44,7 +45,7 @@ use runtime_primitives::traits::{
|
||||
};
|
||||
use substrate_primitives::{Ed25519AuthorityId, H256};
|
||||
|
||||
use justification::GrandpaJustification;
|
||||
use crate::justification::GrandpaJustification;
|
||||
|
||||
/// Prepare proof-of-finality for the given block.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user