core: calc difficulty after each submission

This commit is contained in:
undefined committed 2021-03-12 17:08:14 +08:00
1 parent 139c1e2f59
commit 44ec26ac89
7 files changed
+24 -23

No files matched your search

+1
View File
@@ -520,6 +520,7 @@ interface GeoIP {
export interface Lib extends Record<string, any> {
download: typeof import('./lib/download'),
difficulty: typeof import('./lib/difficulty'),
buildContent: typeof import('./lib/content').buildContent,
'hash.hydro': typeof import('./lib/hash.hydro'),
i18n: typeof import('./lib/i18n'),