mirror of
https://github.com/smolgrrr/TAO.git
synced 2024-09-20 01:11:25 +00:00
revert
This commit is contained in:
parent
66b18bb152
commit
c2a869bd36
@ -187,7 +187,7 @@ const NewNoteCard = ({
|
||||
className="bg-neutral-800 text-white text-xs font-medium border-none rounded-lg w-10"
|
||||
value={difficulty}
|
||||
onChange={(e) => setDifficulty(e.target.value)}
|
||||
min="22"
|
||||
min="16"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
@ -79,7 +79,7 @@ const Settings = () => {
|
||||
type="number"
|
||||
value={filterDifficulty}
|
||||
onChange={e => setFilterDifficulty(e.target.value)}
|
||||
min={22}
|
||||
min={16}
|
||||
className="w-full px-3 py-2 border rounded-md bg-black"
|
||||
/>
|
||||
</div>
|
||||
@ -94,7 +94,7 @@ const Settings = () => {
|
||||
type="number"
|
||||
value={difficulty}
|
||||
onChange={e => setDifficulty(e.target.value)}
|
||||
min={22}
|
||||
min={16}
|
||||
className="w-full px-3 py-2 border rounded-md bg-black"
|
||||
/>
|
||||
</div>
|
||||
|
@ -1 +1 @@
|
||||
export const DEFAULT_DIFFICULTY = 22;
|
||||
export const DEFAULT_DIFFICULTY = 21;
|
@ -13,7 +13,7 @@ export const subGlobalFeed = (onEvent: SubCallback, age: number) => {
|
||||
const now = Math.floor(Date.now() * 0.001);
|
||||
const pubkeys = new Set<string>();
|
||||
const notes = new Set<string>();
|
||||
const prefix = 6; // 4 bits in each '0' character
|
||||
const prefix = 4; // 4 bits in each '0' character
|
||||
sub({ // get past events
|
||||
cb: (evt, relay) => {
|
||||
pubkeys.add(evt.pubkey);
|
||||
@ -300,7 +300,7 @@ export const subHashtagFeed = (
|
||||
unsub: true
|
||||
});
|
||||
|
||||
const prefix = 6; // 4 bits in each '0' character
|
||||
const prefix = 4; // 4 bits in each '0' character
|
||||
sub({ // get past events
|
||||
cb: (evt, relay) => {
|
||||
pubkeys.add(evt.pubkey);
|
||||
|
Loading…
Reference in New Issue
Block a user