mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
Minor fixes (#3751)
* fix warning * use compact for balance type * bump version
This commit is contained in:
committed by
Shawn Tabrizi
parent
97328ee6bb
commit
67a4bc4bdd
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user