mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
Make CI happy again (#1086)
* Appease `cargo-spellcheck` * Increase logging for `cargo-spellcheck` * Fix config file name
This commit is contained in:
committed by
Bastian Köcher
parent
82a952c0db
commit
75df85f52a
@@ -111,7 +111,7 @@ pub struct StoredHeader<Submitter> {
|
||||
pub struct ValidatorsSet {
|
||||
/// Validators of this set.
|
||||
pub validators: Vec<Address>,
|
||||
/// Hash of the block where this set has been signalled. None if this is the first set.
|
||||
/// Hash of the block where this set has been signaled. None if this is the first set.
|
||||
pub signal_block: Option<HeaderId>,
|
||||
/// Hash of the block where this set has been enacted.
|
||||
pub enact_block: HeaderId,
|
||||
|
||||
@@ -567,7 +567,7 @@ pub(crate) fn find_scheduled_change<H: HeaderT>(header: &H) -> Option<sp_finalit
|
||||
header.digest().convert_first(|l| l.try_to(id).and_then(filter_log))
|
||||
}
|
||||
|
||||
/// Checks the given header for a consensus digest signalling a **forced** scheduled change and
|
||||
/// Checks the given header for a consensus digest signaling a **forced** scheduled change and
|
||||
/// extracts it.
|
||||
pub(crate) fn find_forced_change<H: HeaderT>(
|
||||
header: &H,
|
||||
|
||||
@@ -379,7 +379,7 @@ pub mod pallet {
|
||||
Some(TokenSwapState::Started) => fail!(Error::<T, I>::SwapIsPending),
|
||||
Some(TokenSwapState::Confirmed) => fail!(Error::<T, I>::SwapIsConfirmed),
|
||||
Some(TokenSwapState::Failed) => {
|
||||
// we allow cancelling swap even before lock period is over - the `source_account_at_this_chain`
|
||||
// we allow canceling swap even before lock period is over - the `source_account_at_this_chain`
|
||||
// has already paid for nothing and it is up to him to decide whether he want to try again
|
||||
}
|
||||
None => fail!(Error::<T, I>::SwapIsInactive),
|
||||
|
||||
Reference in New Issue
Block a user