Selaa lähdekoodia

Refactor membership dependencies

Shamil Gadelshin 5 vuotta sitten
vanhempi
commit
5cff2f9f31

+ 1 - 1
runtime-modules/membership/src/genesis.rs

@@ -1,6 +1,6 @@
 #![cfg(test)]
 
-use crate::currency::BalanceOf;
+use common::currency::BalanceOf;
 use rstd::prelude::*;
 //pub use super::members::{GenesisConfig, Trait};
 

+ 1 - 1
runtime-modules/membership/src/members.rs

@@ -1,4 +1,4 @@
-use crate::currency::{BalanceOf, GovernanceCurrency};
+use common::currency::{BalanceOf, GovernanceCurrency};
 use codec::{Codec, Decode, Encode};
 
 use rstd::prelude::*;

+ 1 - 1
runtime-modules/membership/src/mock.rs

@@ -1,7 +1,7 @@
 #![cfg(test)]
 
 pub use super::members::{self, Trait, DEFAULT_PAID_TERM_ID};
-pub use crate::currency::GovernanceCurrency;
+pub use common::currency::GovernanceCurrency;
 pub use srml_support::traits::Currency;
 pub use system;