Fix use of weight limit errors (#4358)

This commit is contained in:
Gavin Wood
2021-11-24 13:26:33 +01:00
committed by GitHub
parent e08b0fb506
commit c699ca9c7b
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ pub enum Error {
FailedToDecode,
/// Used by `Transact` to indicate that the given weight limit could be breached by the functor.
#[codec(index = 18)]
TooMuchWeightRequired,
MaxWeightInvalid,
/// Used by `BuyExecution` when the Holding Register does not contain payable fees.
#[codec(index = 19)]
NotHoldingFees,