Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Filtering source_amount pathfind correctly #707

Merged
merged 1 commit into from
Mar 21, 2016

Commits on Mar 21, 2016

  1. FIX: Filtering source_amount pathfind correctly

    Bug:
    
    ```js
    api.connect().then(() => {
      const pathfind = {
        source: {
          address: USDCold,
          amount: {
            currency: 'USD',
            value: '1.00' // <<<< Rippled response has "1" not "1.00"
          }
        },
        destination: {
          address: EURCold,
          amount: {currency: 'EUR'}
        }
      };
      return api.getPaths(pathfind).then(paths => {
        console.log('PATHS: \n', JSON.stringify(paths, null, 2));
      });
    }).catch(console.log);
    
    ```
    Alan Cohen committed Mar 21, 2016
    Configuration menu
    Copy the full SHA
    5b20fe5 View commit details
    Browse the repository at this point in the history