mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
Make Substrate compile with latest nightly (#7381)
* Try to get it compiling * One more * Make stable happy * Make stable even more happy ;) * Update shell.nix
This commit is contained in:
@@ -468,7 +468,7 @@ where
|
||||
<AllModules as OffchainWorker<System::BlockNumber>>::offchain_worker(
|
||||
// to maintain backward compatibility we call module offchain workers
|
||||
// with parent block number.
|
||||
header.number().saturating_sub(1.into())
|
||||
header.number().saturating_sub(1u32.into())
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user