mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
paras: fix weight computation (#4673)
Looks like it is an artifact of prior code and now it is redundant.
This commit is contained in:
@@ -1425,7 +1425,7 @@ impl<T: Config> Pallet<T> {
|
||||
code_hash: &ValidationCodeHash,
|
||||
causes: Vec<PvfCheckCause<T::BlockNumber>>,
|
||||
) -> Weight {
|
||||
let mut weight = T::DbWeight::get().writes(1);
|
||||
let mut weight = 0;
|
||||
|
||||
for cause in causes {
|
||||
// Whenever PVF pre-checking is started or a new cause is added to it, the RC is bumped.
|
||||
|
||||
Reference in New Issue
Block a user