mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 23:18:01 +00:00
Update Balances Pallet for decl_error! (#4405)
* Update balances for `decl_error!` * Update for new `decl_error` * Fix staking tests * Use `ok_or` over `match`
This commit is contained in:
@@ -784,7 +784,7 @@ decl_event!(
|
||||
);
|
||||
|
||||
decl_error! {
|
||||
/// Error for the stacking module.
|
||||
/// Error for the staking module.
|
||||
pub enum Error for Module<T: Trait> {
|
||||
/// Not a controller account.
|
||||
NotController,
|
||||
|
||||
Reference in New Issue
Block a user