Use decl_error in the treasure module (#4370)

This commit is contained in:
Stanislav Tkach
2019-12-17 07:03:08 +01:00
committed by Gavin Wood
parent 583b0e3c69
commit 7e9253d35d
2 changed files with 27 additions and 14 deletions
@@ -52,7 +52,7 @@ pub enum Error {
/// Transaction entering the pool.
new: Priority
},
/// Deps cycle etected and we couldn't import transaction.
/// Deps cycle detected and we couldn't import transaction.
#[display(fmt="Cycle Detected")]
CycleDetected,
/// Transaction was dropped immediately after it got inserted.