refactor: Fixes #1083. Rename ApplyExtrinsicFailed method without typo (#1084)

This commit is contained in:
Luke Schoen
2018-11-07 21:42:47 +01:00
committed by Bastian Köcher
parent 3acafa9d2f
commit 6edf23d155
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ where
} }
Err(e) => { Err(e) => {
self.changes.discard_prospective(); self.changes.discard_prospective();
Err(error::ErrorKind::ApplyExtinsicFailed(e).into()) Err(error::ErrorKind::ApplyExtrinsicFailed(e).into())
} }
} }
} }
+1 -1
View File
@@ -41,7 +41,7 @@ error_chain! {
} }
/// Applying extrinsic error. /// Applying extrinsic error.
ApplyExtinsicFailed(e: ApplyError) { ApplyExtrinsicFailed(e: ApplyError) {
description("Extrinsic error"), description("Extrinsic error"),
display("Extrinsic error: {:?}", e), display("Extrinsic error: {:?}", e),
} }