diff --git a/src/cert/acme2.js b/src/cert/acme2.js index f11c0521c..289cf480c 100644 --- a/src/cert/acme2.js +++ b/src/cert/acme2.js @@ -453,9 +453,9 @@ Acme2.prototype.acmeFlow = function (domain, callback) { that.signCertificate.bind(that, domain, order.finalize), that.waitForOrder.bind(that, orderUrl), that.downloadCertificate.bind(that, domain) - ], callback); + ], iteratorCallback); }); - }); + }, callback); }); }); };