Skip to content

Commit 8606466

Browse files
authored
Merge pull request #91 from drift-labs/wphan/allow_stale_sim
allow 30 slot stale tx sim
2 parents e834a8c + 17e93d7 commit 8606466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swift_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ impl ServerParams {
10431043
sig_verify: false,
10441044
replace_recent_blockhash: true,
10451045
commitment: Some(CommitmentConfig::confirmed()),
1046-
min_context_slot: Some(slot),
1046+
min_context_slot: Some(slot - 30), // allow tx sim on up to 30 slots stale context
10471047
..Default::default()
10481048
},
10491049
),

0 commit comments

Comments
 (0)