mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-06 10:51:07 +00:00
Remove unneeded Config bounds and BlockNumber associated type (#804)
* remove unneeded Config bounds and BlockNumber associated type * clippy and fmt
This commit is contained in:
1 parent
171bd62bb2
commit
ce0a82e322
27 files changed
+72
-112
No files matched your search
@@ -57,7 +57,7 @@ where
|
||||
}
|
||||
|
||||
/// Return the block number.
|
||||
pub fn number(&self) -> T::BlockNumber {
|
||||
pub fn number(&self) -> <T::Header as crate::config::Header>::Number {
|
||||
self.header().number()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user