silence tiny on testnet.
This commit is contained in:
parent
b000b6e000
commit
aa782e0ee0
|
@ -421,6 +421,9 @@ Bitcoin.prototype.getAddrTransactions = function(address, callback) {
|
|||
if (!bitcoin.db) {
|
||||
var tiny = require('tiny').json;
|
||||
tiny.debug = function() {};
|
||||
tiny.prototype.debug = function() {};
|
||||
tiny.error = function() {};
|
||||
tiny.prototype.error = function() {};
|
||||
bitcoin.db = tiny({
|
||||
file: process.env.HOME + '/.bitcoindjs.addr.db',
|
||||
saveIndex: false,
|
||||
|
|
Loading…
Reference in New Issue