mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 18:25:50 +00:00
40f8db48bc
Root cause found via device-side Log.e tracing (now removed): the on-chain query, off-chain call-data fetch, and call decode all worked correctly - a real pending approval was found and its call decoded - but chain.assetsById is keyed by this app's own local Chain.Asset.id, which is NOT the same as the raw pallet_assets id these constants hold (e.g. USDT is local id 1 but on-chain id 1984 on Polkadot Asset Hub - they only happened to match by coincidence on Pezkuwi Asset Hub, masking the bug there). Every result was silently dropped at this single lookup. Fixed by reverse-resolving through findAssetByStatemineAssetId instead of indexing assetsById directly.