Add block_height method to Delegation (#778)
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
This commit is contained in:
@@ -45,6 +45,10 @@ impl Delegation {
|
|||||||
pub fn owner(&self) -> Addr {
|
pub fn owner(&self) -> Addr {
|
||||||
self.owner.clone()
|
self.owner.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn block_height(&self) -> u64 {
|
||||||
|
self.block_height
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Display for Delegation {
|
impl Display for Delegation {
|
||||||
|
|||||||
Reference in New Issue
Block a user