mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
Small fixes (#2126)
This commit is contained in:
committed by
Bastian Köcher
parent
d80d2a5039
commit
d479232c34
@@ -47,7 +47,7 @@ pub struct BaseMessagesProofInfo {
|
||||
impl BaseMessagesProofInfo {
|
||||
/// Returns true if `bundled_range` continues the `0..=best_stored_nonce` range.
|
||||
fn appends_to_stored_nonce(&self) -> bool {
|
||||
*self.bundled_range.start() == self.best_stored_nonce + 1
|
||||
Some(*self.bundled_range.start()) == self.best_stored_nonce.checked_add(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user