chore: use the existing signer to get the pubkey instead of a new one
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
@@ -102,7 +102,7 @@ impl CommandRunner for NewArgs {
|
||||
)?)?;
|
||||
let relays = options.relays.clone().flat_relays(&options.config.sets)?;
|
||||
let client = NostrClient::init(&options, &relays).await;
|
||||
let user_pubk = options.pubkey().await?;
|
||||
let user_pubk = client.pubkey().await?;
|
||||
let coordinates = naddrs.clone().into_coordinates();
|
||||
client.add_relays(&naddrs.extract_relays()).await;
|
||||
let repos = client.fetch_repos(coordinates.as_slice()).await?;
|
||||
|
||||
Reference in New Issue
Block a user