1. Fixed thread view, it didn't really seem to work before at all.
2. Removed excess buttons for notes, will extend into a drop down menu
   TODO.
This commit is contained in:
Thomas Mathews 2023-03-24 20:12:38 -07:00
parent 8bbc6c75d5
commit a8b3d5986b
7 changed files with 52 additions and 38 deletions

View file

@ -56,13 +56,11 @@ function event_calculate_pow(ev) {
const target = +tag[2]
if (isNaN(target))
return 0
// if our nonce target is smaller than the difficulty,
// then we use the nonce target as the actual difficulty
return min(target, id_bits)
}
}
// not a valid pow if we don't have a difficulty target
return 0
}