mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
Properly declare errors in pallets that use decl_module (#8523)
* Properly declare errors in pallets that use decl_module * Remove extra error type declaration
This commit is contained in:
@@ -113,6 +113,8 @@ decl_module! {
|
||||
for enum Call
|
||||
where origin: T::Origin
|
||||
{
|
||||
type Error = Error<T, I>;
|
||||
|
||||
fn deposit_event() = default;
|
||||
|
||||
/// Add a member `who` to the set.
|
||||
|
||||
Reference in New Issue
Block a user