Add missing error counters and load_account test cases (#2327)

This commit is contained in:
jackcmay
2019-01-08 09:20:25 -08:00
committed by GitHub
parent 1b7598e351
commit 0f8ea6872e
2 changed files with 465 additions and 8 deletions

View File

@ -2,7 +2,7 @@ use crate::pubkey::Pubkey;
/// An Account with userdata that is stored on chain
#[repr(C)]
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
#[derive(Serialize, Deserialize, Debug, Clone, Default, Eq, PartialEq)]
pub struct Account {
/// tokens in the account
pub tokens: u64,