From f988d96a1d787875f87b37713fb7c3197e890532 Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Thu, 14 Mar 2024 11:38:32 -0400 Subject: [PATCH] =?UTF-8?q?staking:=20=F0=9F=93=99=20add=20delegation=20to?= =?UTF-8?q?ken=20constructor=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/core/component/stake/src/delegation_token.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core/component/stake/src/delegation_token.rs b/crates/core/component/stake/src/delegation_token.rs index b55ab9912f..c0bc4509de 100644 --- a/crates/core/component/stake/src/delegation_token.rs +++ b/crates/core/component/stake/src/delegation_token.rs @@ -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