From 0f273d05f835d87726226aadd3d1db6f2a4fd27d Mon Sep 17 00:00:00 2001
From: Xiliang Chen <xlchen1291@gmail.com>
Date: Mon, 2 Dec 2019 11:15:09 +1300
Subject: [PATCH] rename usage of LinkedItem to avoid duplicated type names
 (#54)

---
 auction/src/lib.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/auction/src/lib.rs b/auction/src/lib.rs
index a26e62e..abfabef 100644
--- a/auction/src/lib.rs
+++ b/auction/src/lib.rs
@@ -31,11 +31,13 @@ decl_event!(
 	}
 );
 
+type AuctionIdLinkedItem<T> = LinkedItem<<T as Trait>::AuctionId>;
+
 decl_storage! {
 	trait Store for Module<T: Trait> as Auction {
 		pub Auctions get(fn auctions): map T::AuctionId => Option<AuctionInfo<T::AccountId, T::Balance, T::BlockNumber>>;
 		pub AuctionsCount get(fn auctions_count): T::AuctionId;
-		pub AuctionEndTime get(fn auction_end_time): map(T::BlockNumber, Option<T::AuctionId>) => Option<LinkedItem<T::AuctionId>>;
+		pub AuctionEndTime get(fn auction_end_time): map(T::BlockNumber, Option<T::AuctionId>) => Option<AuctionIdLinkedItem<T>>;
 	}
 }
 
-- 
GitLab