We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f95d9bf + ee3bad5 commit 16aa96aCopy full SHA for 16aa96a
1 file changed
integration/regtest.js
@@ -280,8 +280,10 @@ describe('Daemon Binding Functionality', function() {
280
it('will get an event when the tip is new', function(done) {
281
this.timeout(4000);
282
bitcoind.on('tip', function(height) {
283
- height.should.equal(151);
284
- done();
+ if (height == 151) {
+ height.should.equal(151);
285
+ done();
286
+ }
287
});
288
client.generate(1, function(err, response) {
289
if (err) {
0 commit comments