Skip to content

crypto: move _scrypt call out of handleError funct

This commit moves the _scrypt function call out of the handleError function, which now only takes in an error object as its parameter.

The motivation for this is to hopefully improve readability as it was not clear to me the first time I stepped through the code where the actual call to _scrypt was.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading