From 9ac56d2f88782f145aea9d0225cf570371be1a0b Mon Sep 17 00:00:00 2001
From: Xiliang Chen <xlchen1291@gmail.com>
Date: Wed, 11 Mar 2020 15:49:51 +1300
Subject: [PATCH] compact things (#117)

---
 auction/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auction/src/lib.rs b/auction/src/lib.rs
index 5d9dba5..51ae761 100644
--- a/auction/src/lib.rs
+++ b/auction/src/lib.rs
@@ -49,7 +49,7 @@ decl_module! {
 
 		fn deposit_event() = default;
 
-		pub fn bid(origin, id: T::AuctionId, value: T::Balance) {
+		pub fn bid(origin, id: T::AuctionId, #[compact] value: T::Balance) {
 			let from = ensure_signed(origin)?;
 
 			let mut auction = <Auctions<T>>::get(id).ok_or(Error::<T>::AuctionNotExist)?;
-- 
GitLab