mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-05 11:44:07 +00:00
Fix
This commit is contained in:
@ -36,7 +36,7 @@ const getWebCrypto = () => {
|
||||
};
|
||||
|
||||
// Override the global crypto object
|
||||
if (typeof window !== 'undefined' && !window.crypto.getWebCrypto) {
|
||||
if (typeof window !== 'undefined' && !window.crypto.subtle) {
|
||||
window.crypto = {
|
||||
getRandomValues: (arr) => {
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
|
Reference in New Issue
Block a user