Browse Source

Merge pull request #648 from isocolsky/fix/addrs-gen

Fix address generation
feat/estimateFee-limit
Matias Alejo Garcia 8 years ago
committed by GitHub
parent
commit
11c5bd92a7
  1. 4
      lib/storage.js

4
lib/storage.js

@ -481,7 +481,9 @@ Storage.prototype.storeAddressAndWallet = function(wallet, addresses, cb) {
return next(false);
});
}, function(newAddresses) {
if (newAddresses.length == 0) return cb();
if (newAddresses.length < addresses.length) {
log.warn('Attempted to store already existing addresses on wallet ' + wallet.id);
}
self.db.collection(collections.ADDRESSES).insert(newAddresses, {
w: 1
}, function(err) {

Loading…
Cancel
Save