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

@ -178,12 +178,12 @@ fn test_multi_node_ledger_window() -> result::Result<()> {
loop {
let mut client = mk_client(&validator_data);
let bal = client.poll_get_balance(&bob_pubkey)?;
if bal == leader_balance {
let bal = client.poll_get_balance(&bob_pubkey);
info!("bob balance on validator {:?}...", bal);
if bal.unwrap_or(0) == leader_balance {
break;
}
sleep(Duration::from_millis(300));
info!("bob balance on validator {}...", bal);
}
info!("done!");