mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 20:45:53 +00:00
4d1fb0256f
Confirmed live via logcat: tapping "send" to a P2SH address force-closed the app - FATAL EXCEPTION: IllegalArgumentException: Bech32 string is mixed case, thrown from Chain.accountIdOf() -> bitcoinAddressToAccountId() (native-SegWit-only) via the Confirm Send screen's address icon generator, a completely separate call path from the transaction-building fix already shipped. Chain.accountIdOf() now falls back to decodeBitcoinDestination() for P2SH/P2PKH, safe here because this generic accountId is only ever used for opaque purposes (identicons, presence checks) - the real send path already bypasses it entirely and builds the scriptPubKey straight from the typed BitcoinDestination.