Skip to content
Snippets Groups Projects
Unverified Commit 9ac56d2f authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

compact things (#117)

parent 577f0332
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ decl_module! { ...@@ -49,7 +49,7 @@ decl_module! {
fn deposit_event() = default; 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 from = ensure_signed(origin)?;
let mut auction = <Auctions<T>>::get(id).ok_or(Error::<T>::AuctionNotExist)?; let mut auction = <Auctions<T>>::get(id).ok_or(Error::<T>::AuctionNotExist)?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment