bodhiproject / qrypto

Qtum light wallet and local transaction signing client
GNU General Public License v3.0
9 stars 12 forks source link

fix bugs relating to when window.qrypto.account is updated #173

Closed soshochang closed 6 years ago

soshochang commented 6 years ago

add INPAGE_QRYPTO_ACCOUNT_STATUS_CHANGE_REASON to provide more specificity to dapp on why window.qrypto.account is getting updated and to make debugging easier stop sending ACCOUNT_CHANGED event for sessionRestore type login event; don't stop polling accountInfo when the qrypto popup is closed, iotw continue polling in the background so that window.qrypto.account can get updated with account balance changes (Resolves issue 176) fix duplicate window.qrypto.account updated event on login/logout *Rename ACCOUNT_CHANGE message to QRYPTO_ACCOUNT_CHANGE (Resolves issue#175)