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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user