Add block_height method to Delegation (#778)

Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
This commit is contained in:
Drazen Urch
2021-09-15 17:28:49 +02:00
committed by GitHub
parent 0d21f4e937
commit 976dd7aae2
+4
View File
@@ -45,6 +45,10 @@ impl Delegation {
pub fn owner(&self) -> Addr {
self.owner.clone()
}
pub fn block_height(&self) -> u64 {
self.block_height
}
}
impl Display for Delegation {