summaryrefslogtreecommitdiff
path: root/desk/lib/shim.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-18 10:04:43 +0700
committerpolwex <polwex@sortug.com>2025-09-18 10:04:43 +0700
commite69afcff1c1f42436998ca0b070162d556dd577c (patch)
treeceaf1e3c7f654902eb3029483a4a2af37591c320 /desk/lib/shim.hoon
parent7bac4927e8895719a91011da9a2b997579238145 (diff)
Diffstat (limited to 'desk/lib/shim.hoon')
-rw-r--r--desk/lib/shim.hoon6
1 files changed, 3 insertions, 3 deletions
diff --git a/desk/lib/shim.hoon b/desk/lib/shim.hoon
index d9a5e6e..af2d142 100644
--- a/desk/lib/shim.hoon
+++ b/desk/lib/shim.hoon
@@ -1,5 +1,5 @@
/- sur=nostrill, nsur=nostr
-/+ js=json-nostr, sr=sortug, nlib=nostr, constants
+/+ js=json-nostr, sr=sortug, nostr-keys, constants
/= web /web/router
|_ [=state:sur =bowl:gall]
@@ -21,7 +21,7 @@
^- [bulk-req:shim:nsur _state]
=/ rls ~(tap by relays.state)
=| urls=(list @t)
- =/ sub-id (gen-sub-id:nlib eny.bowl)
+ =/ sub-id (gen-sub-id:nostr-keys eny.bowl)
=/ =req:shim:nsur [%req sub-id fs]
|- ?~ rls [[urls req] state]
:: build http card
@@ -120,7 +120,7 @@
:: TODO make a function to use most reliable
=/ relay (head ~(tap in relays))
~& http=relay
- =/ sub-id (gen-sub-id:nlib eny.bowl)
+ =/ sub-id (gen-sub-id:nostr-keys eny.bowl)
=/ kinds (silt ~[0])
=/ total=filter:nsur [~ `pubkeys `kinds ~ ~ ~ ~]
=/ req=http-req:shim:nsur [relay http-delay:constants sub-id ~[total]]