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
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;
}