bitshares / bitshares1-webwallet

Web Interface for BitShares Wallets 0.x (before 2015-10-13)
The Unlicense
35 stars 53 forks source link

not all accounts showing up 0.6.1 #611

Closed vikramrajkumar closed 9 years ago

vikramrajkumar commented 9 years ago

https://bitsharestalk.org/index.php?topic=14190.msg184789#msg184789

jcalfee commented 9 years ago

@valzav I could not reliably reproduce, but I suggest this small change this could very well fix this. It is safe. It means that if a request comes for an account list it will execute and update objects angularjs is monitoring (on the next block):

wallet.coffee

     observer_config:->
         name: "WalletEachBlockObserver"
         frequency: "each_block"
@@ -49,7 +63,8 @@ class Wallet
 #            @refresh_balances_promise = null
 #            @transactions_loading_promise = null
 #            @check_vote_proportion_promise = null
-#            @refresh_accounts_promise = null
+            if @refresh_accounts_request
+                @refresh_accounts_promise = null
             @refresh_accounts()
             deferred.resolve(true)
         #notify: (data) ->
valzav commented 9 years ago

@jcalfee, probably you are right, I'll do some more research on this