mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 09:21:08 +00:00
Minor fixes (#3751)
* fix warning * use compact for balance type * bump version
This commit is contained in:
1 parent
97328ee6bb
commit
67a4bc4bdd
4 files changed
+5
-5
No files matched your search
@@ -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