[#1181] Stop update balance before updateChainTip
This commit is contained in:
parent
9795610bb9
commit
0e40b3a807
|
@ -395,11 +395,10 @@ class SdkSynchronizer private constructor(
|
|||
private fun CoroutineScope.onReady() {
|
||||
Twig.debug { "Starting synchronizer…" }
|
||||
|
||||
// Triggering UTXOs fetch and transparent balance update at the beginning of the block sync right after the app
|
||||
// start, as it makes the transparent transactions appearance faster
|
||||
// Triggering UTXOs and transactions fetching at the beginning of the block synchronization right after the
|
||||
// app starts makes the transparent transactions appear faster.
|
||||
launch(CoroutineExceptionHandler(::onCriticalError)) {
|
||||
refreshUtxos(Account.DEFAULT)
|
||||
refreshTransparentBalance()
|
||||
refreshTransactions()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue