commented code for store tx with p2p

This commit is contained in:
Gustavo Cortez 2014-02-05 17:39:00 -03:00
parent 9edf1afcb9
commit e349e6cad3

View File

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