setTimeout 0

This commit is contained in:
creeper123123321 2021-06-02 12:49:48 -03:00 committed by GitHub
parent d323d08584
commit 2bda35b7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ function listenPoW(e) {
}); });
if (Date.now() >= endTime) { if (Date.now() >= endTime) {
setTimeout(() => listenPoW(e), 1); setTimeout(() => listenPoW(e), 0);
return; return;
} }
} while (!sha512(msg).startsWith("00000")); } while (!sha512(msg).startsWith("00000"));