Skip to content

Commit 9f6abbf

Browse files
brad vanderbushbrad vanderbush
authored andcommitted
Fix for nonce issue in generateNonce()
1 parent 9ffd7c7 commit 9f6abbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/MiningRigRentals.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,7 @@ class MiningRigRentals {
10901090
* @returns {number} - the current UNIX time + the previous Nonce
10911091
*/
10921092
generateNonce() {
1093-
this.prevNonce += 1;
1094-
return this.prevNonce
1093+
return Date.now()
10951094
};
10961095

10971096
/* ----------------- Utilities ----------------- */

0 commit comments

Comments
 (0)