Minor fixes (#3751)

* fix warning

* use compact for balance type

* bump version
This commit is contained in:
Xiliang Chen
2019-10-03 14:16:07 +13:00
committed by Shawn Tabrizi
parent 97328ee6bb
commit 67a4bc4bdd
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -344,7 +344,7 @@ decl_module! {
votes: Vec<bool>,
#[compact] index: VoteIndex,
hint: SetIndex,
value: BalanceOf<T>
#[compact] value: BalanceOf<T>
) -> Result {
let who = ensure_signed(origin)?;
Self::do_set_approvals(who, votes, index, hint, value)
@@ -361,7 +361,7 @@ decl_module! {
votes: Vec<bool>,
#[compact] index: VoteIndex,
hint: SetIndex,
value: BalanceOf<T>
#[compact] value: BalanceOf<T>
) -> Result {
let who = Self::proxy(ensure_signed(origin)?).ok_or("not a proxy")?;
Self::do_set_approvals(who, votes, index, hint, value)