From 678c67622d89a75ccd7d65c3a160572b3eb8b811 Mon Sep 17 00:00:00 2001 From: Yeechan Lu Date: Thu, 14 Aug 2014 03:16:57 +0800 Subject: [PATCH] [FIX] Cannot use demmurage currencies in path_find Use hex format instead of json for currencies. --- src/js/ripple/remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/ripple/remote.js b/src/js/ripple/remote.js index 572ad0cc..645c5da6 100644 --- a/src/js/ripple/remote.js +++ b/src/js/ripple/remote.js @@ -2036,7 +2036,7 @@ Remote.prepareCurrencies = function(currency) { } if (currency.hasOwnProperty('currency')) { - newCurrency.currency = Currency.json_rewrite(currency.currency); + newCurrency.currency = Currency.json_rewrite(currency.currency, {force_hex:true}); } return newCurrency;