Skip to content

Commit

Permalink
Update pallets/parachain-staking/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: tmpolaczyk <44604217+tmpolaczyk@users.noreply.github.com>
  • Loading branch information
grw-ms and tmpolaczyk authored Aug 29, 2023
1 parent 7583744 commit 6b15f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/parachain-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ pub mod pallet {
// returned will be an over-estimate since the read was already performed on the first
// call and subsequent calls do not increase PoV size further.
if already_called_for_delegator {
actual_weight.set_proof_size(0);
actual_weight = actual_weight.set_proof_size(0);
}

let in_top = state
Expand Down

0 comments on commit 6b15f20

Please sign in to comment.