diff --git a/src/js/amount.js b/src/js/amount.js index 9af793f2b7..da2e289cd4 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -613,7 +613,8 @@ Amount.prototype.parse_issuer = function (issuer) { Amount.prototype.parse_json = function (j) { if ('string' === typeof j) { // .../.../... notation is not a wire format. But allowed for easier testing. - var m = j.match(/^(.+)\/(...)(?:\/(.+))?$/); +// var m = j.match(/^(.+)\/(...)(?:\/(.+))?$/); + var m = j.match(/^(.+)\/(...)\/(.+)$/); if (m) { this._currency = Currency.from_json(m[2]);