nip46: dynamic signer to store sessions associated with the handler pubkey to prevent stupid bugs when the same client try to use two different bunkers.

This commit is contained in:
fiatjaf
2025-07-18 14:36:42 -03:00
parent 33838a4801
commit 7cbca5f040
3 changed files with 35 additions and 44 deletions
-1
View File
@@ -34,7 +34,6 @@ func (r Response) String() string {
}
type Signer interface {
GetSession(client nostr.PubKey) (Session, bool)
HandleRequest(context.Context, nostr.Event) (req Request, resp Response, eventResponse nostr.Event, err error)
}