- Throw error on err
- Spacing
This commit is contained in:
parent
d794e891dd
commit
391a84f490
@ -208,7 +208,8 @@ describe('P2P Functionality', function() {
|
||||
peer.sendMessage(txMessage);
|
||||
}
|
||||
});
|
||||
async.whilst(function() {
|
||||
async.whilst(
|
||||
function() {
|
||||
return txs.length > 0;
|
||||
},
|
||||
function(callback) {
|
||||
@ -219,8 +220,10 @@ describe('P2P Functionality', function() {
|
||||
callback();
|
||||
},
|
||||
function(err) {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user