Sjors / nthkey-ios

Your iOs device in a Bitcoin multi-sig
https://nthkey.com
MIT License
17 stars 7 forks source link

Fix handling large QR code #51

Closed Sjors closed 3 years ago

Sjors commented 3 years ago

When a transaction has several inputs it seems to get too large for our current QR generating code:

 [filter] initQRCodeForInputByteSize cannot find proper rs block info (input data too big?)

IMG_8024

Sjors commented 3 years ago

If this is complicated to fix, then let's at least display a clear error message: "PSBT is too large to display as a QR code" (the user can copy or save instead for now)

w-i-n-s commented 3 years ago

limits https://stackoverflow.com/a/51242715/1067147