remove duplicated password decryption prompts by returning the bare key together with the Keyer when it is given.

This commit is contained in:
fiatjaf
2024-10-29 21:11:15 -03:00
parent 134d1225d6
commit 847f8aaa69
5 changed files with 12 additions and 12 deletions

View File

@@ -95,7 +95,7 @@ var relay = &cli.Command{
return nil
}
kr, err := gatherKeyerFromArguments(ctx, c)
kr, _, err := gatherKeyerFromArguments(ctx, c)
if err != nil {
return err
}