Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with
2 additions and
2 deletions
-
test/integration/server.js
|
|
@ -5930,7 +5930,7 @@ describe('Wallet service', function() { |
|
|
|
it('should get real # of confirmations based on current block height', function(done) { |
|
|
|
var _confirmations = Defaults.CONFIRMATIONS_TO_START_CACHING; |
|
|
|
Defaults.CONFIRMATIONS_TO_START_CACHING = 6; |
|
|
|
WalletService._cachedBlockheight = null; |
|
|
|
WalletService._cachedBlockheight = {}; |
|
|
|
|
|
|
|
var h = helpers.historyCacheTest(20); |
|
|
|
_.each(h, function(x, i) { |
|
|
@ -5989,7 +5989,7 @@ describe('Wallet service', function() { |
|
|
|
it('should get cached # of confirmations if current height unknown', function(done) { |
|
|
|
var _confirmations = Defaults.CONFIRMATIONS_TO_START_CACHING; |
|
|
|
Defaults.CONFIRMATIONS_TO_START_CACHING = 6; |
|
|
|
WalletService._cachedBlockheight = null; |
|
|
|
WalletService._cachedBlockheight = {}; |
|
|
|
|
|
|
|
var h = helpers.historyCacheTest(20); |
|
|
|
helpers.stubHistory(h); |
|
|
|