mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-16 07:37:06 +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:
1 parent
d752f8664a
commit
20f9b2c421
1 file changed
+1
-1
@@ -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