Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stale session followed by clicks (20min) results in js errors in console - toLowerCase #779

Open
pnicjanik opened this issue Oct 23, 2024 · 0 comments
Labels
🐛 Bug Something isn't working 🍊OrangeKit

Comments

@pnicjanik
Copy link
Collaborator

reproduced on stake.test.acre.fi
walletExtension= Unisat

Steps to reproduce:

  1. logged in
  2. left session idle
  3. at the 21min mark, click to Deposit or Withdraw >> errors thrown in console
TypeError: Cannot read properties of undefined (reading 'toLowerCase')		promise.ts:9
	at address.js:25:53
	at Array.some (<anonymous>)
	at checkIfAddressStartsWith (address.js:25:21)
	at Object.recoverTruncatedBitcoinAddress (address.js:98:21)
	at y9.predictAddress (index.js:41:62)
	at Object.getAccounts (connector.js:60:42)
	at async useWallet.ts:100:26

address.js:25 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')		address.js:25
	at address.js:25:53
	at Array.some (<anonymous>)
	at checkIfAddressStartsWith (address.js:25:21)
	at Object.recoverTruncatedBitcoinAddress (address.js:98:21)
 	at y9.predictAddress (index.js:41:62)
	at Object.getAccounts (connector.js:60:42)
	at async useWallet.ts:100:26

TypeError: Cannot read properties of undefined (reading 'toLowerCase')		promise.ts:9
	at address.js:25:53
	at Array.some (<anonymous>)
	at checkIfAddressStartsWith (address.js:25:21)
	at Object.recoverTruncatedBitcoinAddress (address.js:98:21)
	at y9.predictAddress (index.js:41:62)
	at Object.getAccounts (connector.js:60:42)
	at async useWallet.ts:100:26

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')		address.js:25
	at address.js:25:53
	at Array.some (<anonymous>)
	at checkIfAddressStartsWith (address.js:25:21)
	at Object.recoverTruncatedBitcoinAddress (address.js:98:21)
	at y9.predictAddress (index.js:41:62)
	at Object.getAccounts (connector.js:60:42)
	at async useWallet.ts:100:26

NOTES:

  1. did not occur with XVerse (OKX tbd)
  2. any button clicks after the 20min mark result in these 4 errors thrown in console (i.e., deposit, withdraw, but not the "points per" droplist)
  3. did not occur at 10, 15 minute marks.
@pnicjanik pnicjanik added the 🐛 Bug Something isn't working label Oct 23, 2024
@nkuba nkuba added the 🍊OrangeKit label Dec 9, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 🍊OrangeKit
Projects
None yet
Development

No branches or pull requests

2 participants