Skip to content

Commit

Permalink
Merge pull request #340 from clark800/remove-return-value
Browse files Browse the repository at this point in the history
Remove return value of mergeDirectAndAutobridgedBooks
  • Loading branch information
clark800 committed May 11, 2015
2 parents ac0a4f5 + e9aaf50 commit d56e70b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/ripple/orderbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ OrderBook.prototype.mergeDirectAndAutobridgedBooks = function() {
var self = this;

if (_.isEmpty(this._offers) && _.isEmpty(this._offersAutobridged)) {
return null;
return;
}

this._mergedOffers = this._offers
Expand All @@ -1237,8 +1237,6 @@ OrderBook.prototype.mergeDirectAndAutobridgedBooks = function() {
});

this.emit('model', this._mergedOffers);

return this._mergedOffers;
};

exports.OrderBook = OrderBook;

0 comments on commit d56e70b

Please sign in to comment.