Skip to content

Commit

Permalink
fix: implementation name (OpenZeppelin#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnordelo authored Dec 6, 2023
1 parent fd1c9a0 commit b89b041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ mod MyPausableContract {
#[generate_trait]
#[external(v0)]
impl External of ExternalTrait {
impl ExternalImpl of ExternalTrait {
fn pause(ref self: ContractState) {
self.ownable.assert_only_owner();
self.pausable._pause();
Expand Down Expand Up @@ -169,7 +169,7 @@ mod MyReentrancyContract {
#[generate_trait]
#[external(v0)]
impl External of ExternalTrait {
impl ExternalImpl of ExternalTrait {
fn protected_function(ref self: ContractState) {
self.reentrancy_guard.start();
Expand Down

0 comments on commit b89b041

Please sign in to comment.