mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +00:00
Migrate everything to the 2018 edition (#1758)
This commit is contained in:
1 parent
a61c218cc3
commit
ff5e4ca87e
38 files changed
+75
-116
No files matched your search
@@ -14,8 +14,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
extern crate parity_codec as codec;
|
||||
|
||||
mod slots;
|
||||
|
||||
pub use slots::{Slots, SlotInfo};
|
||||
@@ -220,7 +218,7 @@ impl SlotDuration {
|
||||
C: ProvideRuntimeApi,
|
||||
C::Api: AuraApi<B>,
|
||||
{
|
||||
use parity_codec::Decode;
|
||||
use codec::Decode;
|
||||
const SLOT_KEY: &[u8] = b"aura_slot_duration";
|
||||
|
||||
match client.get_aux(SLOT_KEY)? {
|
||||
|
||||
Reference in new issue
Block a user