Expose recovery module errors in metadata (#4727)

This commit is contained in:
Jaco Greeff
2020-01-24 10:02:55 +01:00
committed by Bastian Köcher
parent ad9c75e4c4
commit b89ac5d2ef
+2
View File
@@ -314,6 +314,8 @@ decl_error! {
decl_module! {
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;
/// Deposit one of this module's events by using the default implementation.
fn deposit_event() = default;