fix: hex to lower

This commit is contained in:
Kieran 2024-01-10 21:56:54 +00:00
parent ee9ae80829
commit fd39290bb5
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -26,7 +26,7 @@ public class NostrBareIdentifier : NostrIdentifier
var hexBytes = NostrConverter.ToHexBytes(bech32, out var hrp);
if (hrp is "npub" or "note")
{
return new NostrBareIdentifier(hrp, Convert.ToHexString(hexBytes!));
return new NostrBareIdentifier(hrp, Convert.ToHexString(hexBytes!).ToLower());
}
return default;