Skip to content

Commit 2cdfe4f

Browse files
committed
chore: fix bump in test
1 parent 968e82d commit 2cdfe4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-integration/test-cloning/tests/01_program-deploy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ async fn test_clone_mini_v4_loader_program_and_upgrade() {
183183
loop {
184184
ctx.wait_for_delta_slot_ephem(5).unwrap();
185185

186-
let bump = (remaining_retries + 1).saturating_sub(MAX_RETRIES);
186+
let bump = MAX_RETRIES.saturating_sub(remaining_retries) + 1;
187187
let msg = format!("Hola Mundo {bump}");
188188
let ix = sdk.log_msg_instruction(&payer.pubkey(), &msg);
189189
let (sig, found) = ctx

0 commit comments

Comments
 (0)