Blockstream / Blockstream/green_ios

Broken flow when using BIP21

Open
#61 1 comment 0 reactions 1 assignee Claimed by @ardier16 View on GitHub
bug status: confirmed
Dominant language
Swift
Stars
162
Forks
66
PR merge metrics
No merged PRs in 30d

Description

### Description

Since a few weeks (couldn't tell what version exactly), when scanning/pasting a BIP21 QR/string, the payment flow asks for the amount as well as the account even if the amount is in the BIP21 string and even if we were in the account when scanned. It doesn't detect the label either.

#### Version

Not sure, maybe since 2 months.

### Steps to reproduce

Go in Bitcoin. Choose an account. Scan a BIP21 QR code. The wallet will then ask for the account from which to spend. Then it will ask for the amount. The BIP21 label won't be set as transaction note.

### Expected behaviour

The account should be the one we're already in. The amount and label should be used as the payment amount and transaction note.

### Actual behaviour

Only the address is taken into account.

### Screenshots

None

#### Additional info

I suspected the BIP21 being the problem, so I tried one from another wallet and the error is still there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.