From 072ed3cb83082dc188de37b0e23660ad1ffab05e Mon Sep 17 00:00:00 2001 From: Gustavo Gonzalez Date: Mon, 18 Nov 2024 13:38:09 -0400 Subject: [PATCH] Update packages/access/src/ownable/ownable.cairo Co-authored-by: Eric Nordelo --- packages/access/src/ownable/ownable.cairo | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/access/src/ownable/ownable.cairo b/packages/access/src/ownable/ownable.cairo index e478a348d..7710bf17e 100644 --- a/packages/access/src/ownable/ownable.cairo +++ b/packages/access/src/ownable/ownable.cairo @@ -36,10 +36,7 @@ pub mod OwnableComponent { } /// Emitted when `new_owner` is set as owner of the contract. - /// `previous_owner` is the address of the previous owner. It will be the zero address if - /// the ownership is transferred from the constructor. - /// `new_owner` is the address of the new owner. It will be the zero address if the ownership - /// is renounced. + /// `new_owner` can be set to zero only if the ownership is renounced. #[derive(Drop, PartialEq, starknet::Event)] pub struct OwnershipTransferred { #[key]