Skip to content

Commit

Permalink
Update transaction_metadata.rs
Browse files Browse the repository at this point in the history
Added a comment to explain `fee_payer_authentication_key` in transaction_metadat.rs
  • Loading branch information
junkil-park committed Nov 7, 2024
1 parent f08cd51 commit e1fd0f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aptos-move/aptos-vm/src/transaction_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ pub struct TransactionMetadata {
pub secondary_authentication_keys: Vec<Vec<u8>>,
pub sequence_number: u64,
pub fee_payer: Option<AccountAddress>,
/// `None` if the [TransactionAuthenticator] lacks an authenticator for the fee payer.
/// `Some([])` if the authenticator for the fee payer is a [NoAccountAuthenticator].
pub fee_payer_authentication_key: Option<Vec<u8>>,
pub max_gas_amount: Gas,
pub gas_unit_price: FeePerGasUnit,
Expand Down

0 comments on commit e1fd0f1

Please sign in to comment.