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