keybase / keybase/keybase-issues

stellar wallet - forces path payment when sending and receiving same asset

Open
#3,468 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I have two wallets. I go into the wallet and trust say BB1 on both wallets (bitbondsto.com) and try to transfer from one wallet to the other.

I choose "other asset" and then the number of tokens to send of BB1 and the number to receive of BB1.

The system forces me to hit the calculate key which does a path payment. But because it is the same asset to the same asset path payment is not required.

Also there are not that many BB1 tokens on offer so the call fails with a 218 error.

If I lower the amount to be sent it shows me the result of the path payment
![Selection_394](https://user-images.githubusercontent.com/17188302/62125994-fed6ae00-b2ce-11e9-84ca-ee7a77efa33f.png)
![Selection_393](https://user-images.githubusercontent.com/17188302/62125995-fed6ae00-b2ce-11e9-9660-665f8c6dcd66.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the wallet send/receive flow and the action behind Calculate, then trace how same-asset transfers are handled; it is done when sending and receiving the same asset no longer requires a path-payment lookup or fails because of unavailable offers.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.