Move Account into its own module

Also use default Default generator, since system program ID is
[0; 32]. Bank should probably be the one to set this anyway.
This commit is contained in:
Greg Fitzgerald
2018-09-26 17:33:18 -06:00
parent 386a96b7e0
commit c6d7cd2d33
12 changed files with 39 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
//! system program
use bank::Account;
use account::Account;
use bincode::deserialize;
use dynamic_program::DynamicProgram;
use signature::Pubkey;
@@ -97,7 +97,7 @@ impl SystemProgram {
}
#[cfg(test)]
mod test {
use bank::Account;
use account::Account;
use bincode::serialize;
use dynamic_program::KeyedAccount;
use hash::Hash;