Merge pull request #2137 from ethereum/localstorage

fifx calc error
pull/2156/head^2
Rob 3 years ago committed by GitHub
commit d9a59e081f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/plugins/storage.ts

@ -39,7 +39,7 @@ export class StoragePlugin extends Plugin {
if (!localStorage.hasOwnProperty(_x)) { if (!localStorage.hasOwnProperty(_x)) {
continue continue
} }
_xLen = ((localStorage[_x].length + _x.length) * 2) _xLen = ((localStorage[_x].length + _x.length))
_lsTotal += _xLen _lsTotal += _xLen
} }
return (_lsTotal / 1024).toFixed(2) return (_lsTotal / 1024).toFixed(2)

Loading…
Cancel
Save