Skip to content

Commit

Permalink
fix: forgotten rename
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Feb 16, 2023
1 parent fc7b40e commit 4b17ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl Dbc {
/// returns PublicKey for the owner's derived public key
/// This is useful for checking if a Dbc has been spent.
/// will return an error if the SecretKey is not available. (not bearer)
pub fn key_image_bearer(&self) -> Result<PublicKey> {
pub fn public_key_bearer(&self) -> Result<PublicKey> {
self.public_key(&self.owner_base().secret_key()?)
}

Expand Down

0 comments on commit 4b17ebf

Please sign in to comment.