error aware Keyer.GetPublicKey

This commit is contained in:
1l0
2024-09-19 17:47:18 +09:00
committed by fiatjaf_
parent e1cdb71d6f
commit 0b2b69529b
6 changed files with 35 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ type Keyer interface {
// A Signer provides basic public key signing methods.
type Signer interface {
GetPublicKey(context.Context) string
GetPublicKey(context.Context) (string, error)
SignEvent(context.Context, *nostr.Event) error
}