horizontalsystems/unstoppable-wallet-android

Crash when writing balance and TON wallet address

Closed this issue · 0 comments

When I write both balance and TON network wallet address(DOGS, NOT, etc.), the app crashes. It doesn't crash if only balance or wallet address is written.

Crash logs generated by crDroid rom:

time: 1730197967214
msg: io.tonapi.infrastructure.ClientException: Client error : 406 
stacktrace: io.tonapi.infrastructure.ClientException: Client error : 406 
	at io.tonapi.apis.EmulationApi.emulateMessageToWallet(EmulationApi.kt:401)
	at io.tonapi.apis.EmulationApi.emulateMessageToWallet$default(EmulationApi.kt:390)
	at io.horizontalsystems.tonkit.api.TonApi.estimateFee(TonApi.kt:102)
	at io.horizontalsystems.tonkit.core.TransactionSender.estimateFee(TransactionSender.kt:103)
	at io.horizontalsystems.tonkit.core.TonKit.estimateFee(TonKit.kt:108)
	at io.horizontalsystems.bankwallet.core.adapters.JettonAdapter.estimateFee(JettonAdapter.kt:85)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonFeeService.refreshFee(SendTonFeeService.kt:29)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonFeeService.setTonAddress(SendTonFeeService.kt:45)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel.handleUpdatedAddressState(SendTonViewModel.kt:168)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel.access$handleUpdatedAddressState(SendTonViewModel.kt:28)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel$2$1.emit(SendTonViewModel.kt:67)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel$2$1.emit(SendTonViewModel.kt:66)
	at kotlinx.coroutines.flow.StateFlowImpl.collect(StateFlow.kt:392)
	at kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend(Unknown Source:15)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@e2c71c7, Dispatchers.Default]

App status:

App Info:
   - Current Time: Oct 29, 2024, 14:11
   - App Version: 0.40.1
   - Device Model: samsung SM-A032F
   - OS Version: Android 13 (33)

Version History:
   - 0.40.1: Oct 22, 2024, 17:27

Wallets Status:
   - Wallet 1:
     - Origin: Created
     - Type: 12 words


Blockchain Status:
   - Bitcoin-BIP84:
     - Sync Mode: Blockchair
     - Synced Until: Oct 29, 2024, 14:10
     - Syncing Peer: N/A
     - Derivation: bip84
     - Sync State: Syncing-0.0
     - Last Block Height: 867913

   - BNB Smart Chain:
     - Last Block Height: 43539511
     - Sync State: Synced
     - Blockchain source: RPC API bsc-dataseed.binance.org
     - Transactions source: Infura, Etherscan

   - Ethereum:
     - Last Block Height: 21070762
     - Sync State: Synced
     - Blockchain source: RPC API api.blocksdecoded.com
     - Transactions source: Infura, Etherscan

   - Tron:
     - Started: true
     - Last Block Height: 66516420
     - Sync State: Synced
     - Chain Parameters Sync State: Synced

   - Ton:
     - Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779
     - Event Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779
     - Jetton Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779

   - Solana:
     - Last Block Height: 276973451
     - Sync State: Synced


App Log:
   - tor status:
     - 1: 2024-10-22 13:58:08.888 Tor enabled
     - 2: 2024-10-22 13:58:57.036 Tor disabled

   - send-tron:
     - 3: 2024-10-26 04:44:45.328 click send button
     - 4: 2024-10-26 04:44:45.338 sending tx
     - 5: 2024-10-26 04:44:46.204 success
     - 6: 2024-10-26 04:57:06.670 click send button
     - 7: 2024-10-26 04:57:06.673 sending tx
     - 8: 2024-10-26 04:57:07.295 success
     - 9: 2024-10-26 06:30:37.696 click send button
     - 10: 2024-10-26 06:30:37.705 sending tx
     - 11: 2024-10-26 06:30:38.423 success
     - 12: 2024-10-29 09:38:51.941 click send button
     - 13: 2024-10-29 09:38:51.998 sending tx
     - 14: 2024-10-29 09:38:52.588 success


Market Last Sync Timestamps:
   - Coins: 1728031883
   - Blockchains: 1727431959
   - Tokens: 1728293624