automerge
(cherry picked from commit 362a39a941
)
This commit is contained in:
committed by
Michael Vines
parent
b4a41fff6e
commit
1087ca6b9a
@ -767,12 +767,13 @@ fn fund_move_keys<T: Client>(
|
|||||||
client.send_message(&[funding_key], tx.message).unwrap();
|
client.send_message(&[funding_key], tx.message).unwrap();
|
||||||
let mut balance = 0;
|
let mut balance = 0;
|
||||||
for _ in 0..20 {
|
for _ in 0..20 {
|
||||||
balance = client.get_balance(&funding_keys[0].pubkey()).unwrap();
|
if let Ok(balance_) = client.get_balance(&funding_keys[0].pubkey()) {
|
||||||
if balance > 0 {
|
if balance_ > 0 {
|
||||||
break;
|
balance = balance_;
|
||||||
} else {
|
break;
|
||||||
sleep(Duration::from_millis(100));
|
}
|
||||||
}
|
}
|
||||||
|
sleep(Duration::from_millis(100));
|
||||||
}
|
}
|
||||||
assert!(balance > 0);
|
assert!(balance > 0);
|
||||||
info!("funded multiple funding accounts.. {:?}", balance);
|
info!("funded multiple funding accounts.. {:?}", balance);
|
||||||
|
Reference in New Issue
Block a user