@@ -28,6 +28,7 @@ use nostr::{
|
||||
parser::Token,
|
||||
types::{RelayUrl, Url},
|
||||
};
|
||||
use nostr_keyring::KeyringError;
|
||||
|
||||
use crate::cli::issue::ISSUE_ALT_PREFIX;
|
||||
use crate::cli::patch::{REVISION_ROOT_HASHTAG_CONTENT, ROOT_HASHTAG_CONTENT};
|
||||
@@ -307,6 +308,6 @@ impl nostr_keyring::Error {
|
||||
/// Checks if the error indicates a missing keyring entry.
|
||||
#[inline]
|
||||
pub fn is_keyring_no_entry(&self) -> bool {
|
||||
matches!(self, nostr_keyring::Error::Keyring(keyring::Error::NoEntry))
|
||||
matches!(self, nostr_keyring::Error::Keyring(KeyringError::NoEntry))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user