Skip to content

Commit

Permalink
staking: 📙 add delegation token constructor doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cratelyn committed Mar 15, 2024
1 parent 6982976 commit f988d96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/component/stake/src/delegation_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ impl From<&IdentityKey> for DelegationToken {
}

impl DelegationToken {
/// Returns a new [`DelegationToken`] with the provided identity.
pub fn new(validator_identity: IdentityKey) -> Self {
// This format string needs to be in sync with the asset registry
let base_denom = asset::REGISTRY
Expand Down

0 comments on commit f988d96

Please sign in to comment.