Merge pull request #186 from cmgustavo/bug/01libSync
commented code for store tx with p2p
This commit is contained in:
commit
11020dbb40
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue