Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laisolizq committed Nov 7, 2024
1 parent 53e2146 commit 2684480
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/virtual-counters-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ module.exports = class VirtualCountersManager {

_modexpGetLen(len) {
this._reduceCounters(20, 'S');
const times = Math.ceil(len/32);
if(len%32 > 0) this._SHRarith();
for(let i = 0; i < times; i++) {
const times = Math.ceil(len / 32);
if (len % 32 > 0) this._SHRarith();
for (let i = 0; i < times; i++) {
this._reduceCounters(20, 'S');
this._reduceCounters(4, 'B');
this._readFromCalldataOffset();
Expand Down

0 comments on commit 2684480

Please sign in to comment.