core: deprecate export =

This commit is contained in:
undefined committed 2024-06-14 13:45:16 +08:00
1 parent 35de36d80d
commit 0ab030130c
16 files changed
+73 -84

No files matched your search

+1 -1
View File
@@ -42,5 +42,5 @@ function difficultyAlgorithm(nSubmit: number, nAccept: number) {
return Math.max(ans, 1);
}
export = difficultyAlgorithm;
export default difficultyAlgorithm;
global.Hydro.lib.difficulty = difficultyAlgorithm;