mirror of https://github.com/fiatjaf/nak.git
remove debug.PrintStack()
This commit is contained in:
parent
fc255b5a9a
commit
150625ee74
|
@ -4,7 +4,6 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime/debug"
|
||||
"strings"
|
||||
|
||||
"fiatjaf.com/nostr"
|
||||
|
@ -112,7 +111,6 @@ func gatherSecretKeyOrBunkerFromArguments(ctx context.Context, c *cli.Command) (
|
|||
|
||||
sk, err := nostr.SecretKeyFromHex(sec)
|
||||
if err != nil {
|
||||
debug.PrintStack()
|
||||
return nostr.SecretKey{}, nil, fmt.Errorf("invalid secret key: %w", err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue