Accounts with state (#954)
* Account type with state * fixed test according to @rob-solana
This commit is contained in:
committed by
GitHub
parent
db35f220f7
commit
c23fa289c3
@ -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!");
|
||||
|
||||
|
Reference in New Issue
Block a user