diff --git a/src/js/ripple/pathfind.js b/src/js/ripple/pathfind.js index 6dd1835c..3c456140 100644 --- a/src/js/ripple/pathfind.js +++ b/src/js/ripple/pathfind.js @@ -72,7 +72,6 @@ PathFind.prototype.notify_update = function (message) // Only pass the event along if this path find response matches what we were // looking for. - if (message.alternatives && message.alternatives.length) console.log(Amount.from_json(message.alternatives[0].source_amount).to_text_full()); if (this.src_account === src_account && this.dst_account === dst_account && this.dst_amount.equals(dst_amount)) { diff --git a/src/js/ripple/server.js b/src/js/ripple/server.js index a9275f5d..55eea013 100644 --- a/src/js/ripple/server.js +++ b/src/js/ripple/server.js @@ -262,6 +262,10 @@ Server.prototype._handle_message = function (json) { } break; + case 'path_find': + if (self._remote.trace) utils.logObject('server: path_find: %s', message); + break; + case 'serverStatus': // This message is only received when online. As we are connected, it is the definative final state. self._set_state(self._is_online(message.server_status) ? 'online' : 'offline');