mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 01:24:21 +01:00
enostr: rename to_bech to npub
a bit more clear as to what this is
This commit is contained in:
@@ -178,7 +178,7 @@ impl TokenSerializable for Pubkey {
|
||||
fn serialize_tokens(&self, writer: &mut tokenator::TokenWriter) {
|
||||
writer.write_token(PUBKEY_TOKEN);
|
||||
|
||||
let Some(bech) = self.to_bech() else {
|
||||
let Some(bech) = self.npub() else {
|
||||
tracing::error!("Could not convert pubkey to bech: {}", self.hex());
|
||||
return;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user