Browse Source

Merge pull request #221 from isocolsky/fix/bcinit

Fix blockchain monitor initialization
activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
da3df6449b
  1. 6
      lib/blockchainmonitor.js

6
lib/blockchainmonitor.js

@ -44,9 +44,13 @@ BlockchainMonitor.prototype.start = function(opts, cb) {
}, },
function(done) { function(done) {
self.lock = new Lock(opts.lockOpts); self.lock = new Lock(opts.lockOpts);
done();
}, },
], function(err) { ], function(err) {
if (err) return cb(err); if (err) {
log.error(err);
return cb(err);
}
self.emailService = new EmailService({ self.emailService = new EmailService({
lock: self.lock, lock: self.lock,

Loading…
Cancel
Save