diff --git a/src/hmac/index.js b/src/hmac/index.js index ad72398..095222c 100644 --- a/src/hmac/index.js +++ b/src/hmac/index.js @@ -10,9 +10,7 @@ exports.create = function (hash, secret, callback) { hmac.update(data) - setImmediate(() => { - cb(null, hmac.digest()) - }) + cb(null, hmac.digest()) }, length: lengths[hash] }