Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2379 from vhpoet/release
Browse files Browse the repository at this point in the history
[FIX] Send: Pathfinding fix
  • Loading branch information
mrajvanshy committed Mar 26, 2015
2 parents f22d5a2 + c8d5a32 commit 6553f3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/tabs/send.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,10 @@ SendTab.prototype.angular = function (module)
var lastUpdate;

pf.on('update', function (upd) {
// wrong quote
if ($scope.send.path_status === 'error-quote')
return;

// if no paths found and it is first update - skip it, it often wrong
if (send.pathfindJustStarted && (!upd.alternatives || !upd.alternatives.length)) {
send.pathfindJustStarted = false;
Expand Down

0 comments on commit 6553f3f

Please sign in to comment.