Skip to content

Commit 72d3179

Browse files
committed
Use common rpc function for all nodes in wait for ready
1 parent 72574e1 commit 72d3179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ where
229229
let mut response = Err(anyhow!("initial response value"));
230230

231231
while response.is_err() && (start.elapsed() < timeout) {
232-
response = self.client.ledger_get_head_l2_block_height().await;
232+
response = self.client.ledger_get_last_scanned_l1_height().await;
233233
sleep(Duration::from_millis(500)).await;
234234
}
235235
match response {

0 commit comments

Comments
 (0)