From 4d7a43890c7c31c69e4c948b59a797ecf5676617 Mon Sep 17 00:00:00 2001 From: Harman Singh Date: Wed, 11 Dec 2024 16:40:31 -0700 Subject: [PATCH] [untracked]: remove redundant friend declaration (#15) ## Summary ## Detail ## Testing ## Documentation --- **Requested Reviewers:** @mention --- .../sources/token_messenger/token_messenger.move | 4 ++-- .../sources/token_minter/token_controller.move | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/token_messenger_minter/sources/token_messenger/token_messenger.move b/packages/token_messenger_minter/sources/token_messenger/token_messenger.move index 7e9b8b6..89978e0 100644 --- a/packages/token_messenger_minter/sources/token_messenger/token_messenger.move +++ b/packages/token_messenger_minter/sources/token_messenger/token_messenger.move @@ -113,7 +113,7 @@ module token_messenger_minter::token_messenger { // ----- Public Functions ------ // ----------------------------- - /// Burns token from sender address, to be minted on destination domain. Emits `DepositForBurn` event. + /// Burns the passed in token asset, to be minted on destination domain. Emits `DepositForBurn` event. /// Aborts if: /// - amount is zero /// - destination domain has no TokenMessenger registered @@ -135,7 +135,7 @@ module token_messenger_minter::token_messenger { ) } - /// Burns token from sender address, to be minted on destination domain. The mint on the destination domain must + /// Burns the passed in token asset, to be minted on destination domain. The mint on the destination domain must /// be called by `destinationCaller`. Emits `DepositForBurn` event. /// Aborts if: /// - amount is zero diff --git a/packages/token_messenger_minter/sources/token_minter/token_controller.move b/packages/token_messenger_minter/sources/token_minter/token_controller.move index e61af54..1d7529c 100644 --- a/packages/token_messenger_minter/sources/token_minter/token_controller.move +++ b/packages/token_messenger_minter/sources/token_minter/token_controller.move @@ -29,7 +29,6 @@ module token_messenger_minter::token_controller { // Friend Modules friend token_messenger_minter::token_minter; friend token_messenger_minter::token_messenger_minter; - friend token_messenger_minter::token_messenger; // Errors const ENOT_TOKEN_CONTROLLER: u64 = 1;