Merge pull request #186 from cmgustavo/bug/01libSync

commented code for store tx with p2p
This commit is contained in:
Gustavo Maximiliano Cortez 2014-02-05 18:33:24 -02:00
commit 11020dbb40
1 changed files with 3 additions and 1 deletions

View File

@ -125,13 +125,15 @@ console.log('[Sync.js.109] WARN: Reach reog depth limit'); //TODO
Sync.prototype.storeTxs = function(txs, cb) {
var self = this;
// TODO
// TODO -- Peertopeer
/*
self.txDb.createFromTxs(txs, function(err, inserted_txs, updated_addrs) {
if (err) return cb(err);
self._handleBroadcast(null, inserted_txs, updated_addrs);
return cb(err);
});
*/
};
return Sync;
}