Merge pull request #1504 from webthethird/patch-2

Fix `ExtraVariablesProxy` upgradeability check
pull/1542/head
Feist Josselin 2 years ago committed by GitHub
commit ed8e585bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/tools/upgradeability/checks/variables_order.py

@ -236,7 +236,7 @@ Avoid variables in the proxy. If a variable is in the proxy, ensure it has the s
if len(order2) <= len(order1): if len(order2) <= len(order1):
return [] return []
idx = len(order2) - len(order1) idx = len(order1)
while idx < len(order2): while idx < len(order2):
variable2 = order2[idx] variable2 = order2[idx]

Loading…
Cancel
Save