Accounts with state (#954)

* Account type with state

* fixed test according to @rob-solana
This commit is contained in:
anatoly yakovenko
2018-08-15 14:32:11 -07:00
committed by GitHub
parent db35f220f7
commit c23fa289c3
11 changed files with 324 additions and 193 deletions

View File

@@ -691,7 +691,7 @@ mod tests {
transactions.extend(large_transactions);
let entries0 = next_entries(&id, 0, transactions.clone());
assert!(entries0.len() > 2);
assert!(entries0.len() >= 2);
assert!(entries0[0].has_more);
assert!(!entries0[entries0.len() - 1].has_more);
assert!(entries0.verify(&id));