Use Confirmed confirmation level instead of Finalized (#256)

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
This commit is contained in:
Jayant Krishnamurthy 2022-08-29 02:23:17 -07:00 committed by GitHub
parent 56563599ac
commit b485ef4d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ pub fn gen_attest_tx(
let ix_data = (
pyth2wormhole::instruction::Instruction::Attest,
AttestData {
consistency_level: ConsistencyLevel::Finalized,
consistency_level: ConsistencyLevel::Confirmed,
},
);