Request full finalization for token bridge messages

Change-Id: Ic4631e6d36c108cc01d49c9c99a86162b6129bc4
This commit is contained in:
Hendrik Hofstadt 2021-09-01 15:29:27 +02:00
parent ee33ae27b5
commit 086cd0d706
2 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ pub fn attest_token(
PostMessageData {
nonce: data.nonce,
payload: payload.try_to_vec()?,
consistency_level: ConsistencyLevel::Confirmed,
consistency_level: ConsistencyLevel::Finalized,
},
);

View File

@ -194,7 +194,7 @@ pub fn transfer_native(
PostMessageData {
nonce: data.nonce,
payload: payload.try_to_vec()?,
consistency_level: ConsistencyLevel::Confirmed,
consistency_level: ConsistencyLevel::Finalized,
},
);
@ -331,7 +331,7 @@ pub fn transfer_wrapped(
PostMessageData {
nonce: data.nonce,
payload: payload.try_to_vec()?,
consistency_level: ConsistencyLevel::Confirmed,
consistency_level: ConsistencyLevel::Finalized,
},
);