mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-10-10 19:32:34 +02:00
Added support for nsec/npub in command line invocation as pubkey and pivate keys. expanded nostr: type mentions for user and notes
This commit is contained in:
@@ -154,7 +154,7 @@ extension StringX on String {
|
||||
}
|
||||
}
|
||||
|
||||
bool isValidPubkey(String pubkey) {
|
||||
bool isValidHexPubkey(String pubkey) {
|
||||
if( pubkey.length == 64) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user