Skip to content

Commit

Permalink
solana: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Mar 7, 2024
1 parent 0011142 commit 6304c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub struct TransferBurn<'info> {
// TODO: fees for relaying?
/// Burns tokens and issues a corresponding notification to the outbox of the connected
/// [`NttManagerPeer`].
/// SECURITY: Owner checks are disabled here. Ownership checks are enforced by implicit
/// SECURITY: Owner checks are disabled here. Ownership checks are enforced by implicit
/// anchor constraints in the `Transfer` account struct.
/// transaction
/// SECURITY: Signer check is disabled here. The signer is checked via the `Transfer` struct
Expand Down Expand Up @@ -193,7 +193,7 @@ pub struct TransferLock<'info> {
// TODO: factor out common bits
/// Locks tokens and issues a corresponding notification to the outbox of the connected
/// [`NttManagerPeer`].
/// SECURITY: Owner checks are disabled here. Ownership checks are enforced by implicit
/// SECURITY: Owner checks are disabled here. Ownership checks are enforced by implicit
/// anchor constraints in the `Transfer` account struct.
/// transaction
/// SECURITY: Signer check is disabled here. The signer is checked via the `Transfer` struct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct WormholeAccounts<'info> {
pub rent: Sysvar<'info, Rent>,
}

/// SECURITY: Owner checks are disabled. Each of [`WormholeAccounts::bridge`], [`WormholeAccounts::fee_collector`],
/// SECURITY: Owner checks are disabled. Each of [`WormholeAccounts::bridge`], [`WormholeAccounts::fee_collector`],
/// and [`WormholeAccounts::sequence`] must be checked by the Wormhole core bridge.
/// wrapped by`TransferBurn`.
/// SECURITY: Signer checks are disabled. The only valid sender is the
Expand Down

0 comments on commit 6304c6d

Please sign in to comment.