Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop

This commit is contained in:
wltsmrz
2013-10-06 03:35:46 -07:00

View File

@@ -137,9 +137,9 @@ OrderBook.prototype.is_valid = function () {
OrderBook.prototype.trade = function(type) {
var tradeStr = '0'
+ (this['_currency_' + type] === 'XRP') ? '' : '/'
+ ((this['_currency_' + type] === 'XRP') ? '' : '/'
+ this['_currency_' + type ] + '/'
+ this['_issuer_' + type];
+ this['_issuer_' + type]);
return Amount.from_json(tradeStr);
};