Add unix_timestap to stake lockups (#7569)

This commit is contained in:
Rob Walker
2019-12-19 14:37:47 -08:00
committed by GitHub
parent 0245847ea8
commit 3f405d8908
12 changed files with 1038 additions and 373 deletions

View File

@@ -88,10 +88,7 @@ fn test_stake_delegation_and_deactivation() {
stake_account: read_keypair_file(&stake_keypair_file).unwrap().into(),
staker: None,
withdrawer: None,
lockup: Lockup {
custodian: Pubkey::default(),
epoch: 0,
},
lockup: Lockup::default(),
lamports: 50_000,
};
process_command(&config_validator).unwrap();
@@ -175,10 +172,7 @@ fn test_stake_delegation_and_deactivation_offline() {
stake_account: read_keypair_file(&stake_keypair_file).unwrap().into(),
staker: None,
withdrawer: None,
lockup: Lockup {
custodian: Pubkey::default(),
epoch: 0,
},
lockup: Lockup::default(),
lamports: 50_000,
};
process_command(&config_validator).unwrap();