Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

Commit

Permalink
Add use for Vec (#198)
Browse files Browse the repository at this point in the history
It turns out when using prml-generic-asset in cennznet, the vec that is used in the migration logic should be specified explicitly.
  • Loading branch information
aliX authored Apr 12, 2021
1 parent b0af603 commit c3fde9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prml/generic-asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ fn migrate_locks<T: Config>() {
mod inner {
use super::Config;
use crate::types::BalanceLock;
use sp_std::vec::Vec;
pub struct Module<T>(sp_std::marker::PhantomData<T>);
frame_support::decl_storage! {
trait Store for Module<T: Config> as GenericAsset {
Expand Down

0 comments on commit c3fde9e

Please sign in to comment.