1 parent fd19855 commit cc526acCopy full SHA for cc526ac
1 file changed
bunker.go
@@ -166,7 +166,7 @@ var bunker = &cli.Command{
166
}
167
168
// if we got here without any keys set (no flags, first time using a profile), use the default
169
- {
+ if config.Secret.Plain == nil && config.Secret.Encrypted == nil {
170
sec := os.Getenv("NOSTR_SECRET_KEY")
171
if sec == "" {
172
sec = defaultKey
0 commit comments