add current to bank syscalls (#4581)

This commit is contained in:
Rob Walker
2019-06-07 11:41:34 -07:00
committed by GitHub
parent fdaa939892
commit 37c2fa1d8d
3 changed files with 23 additions and 4 deletions

View File

@ -14,10 +14,9 @@ const ID: [u8; 32] = [
#[repr(C)]
#[derive(Serialize, Deserialize, Debug, Default, PartialEq)]
pub struct Current {
slot: u64,
block: u64,
epoch: u64,
stakers_epoch: u64,
pub slot: u64,
pub epoch: u64,
pub stakers_epoch: u64,
}
impl Current {