derive default impl
@@ -175,18 +175,11 @@ impl Config for Test {
type AssetRegistry = DummyRegistry<Test>;
}
+#[derive(Default)]
pub struct ExtBuilder {
endowed_accounts: Vec<(u64, AssetId, Balance)>,
}
-impl Default for ExtBuilder {
- fn default() -> Self {
- Self {
- endowed_accounts: vec![],
- }
- }
-}
-
impl ExtBuilder {
pub fn with_endowed_accounts(mut self, accounts: Vec<(u64, AssetId, Balance)>) -> Self {
self.endowed_accounts = accounts;
