SDK cleanup to reduce featurization (#5856)

This commit is contained in:
Jack May
2019-09-09 16:38:52 -07:00
committed by GitHub
parent 468095ede2
commit 61fe1aa9cf
13 changed files with 121 additions and 182 deletions

View File

@ -41,7 +41,7 @@ use solana_sdk::{
signature::{Keypair, Signature},
system_transaction,
sysvar::{
clock, clock_account, fees, rewards,
clock, fees, rewards,
slot_hashes::{self, SlotHashes},
stake_history,
},
@ -400,7 +400,7 @@ impl Bank {
fn update_clock(&self) {
self.store_account(
&clock::id(),
&clock_account::new(
&clock::new_account(
1,
self.slot,
get_segment_from_slot(self.slot, self.slots_per_segment),