Skip to content

Commit

Permalink
fix: inherit from Metadata in erc20 example
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfertel committed Apr 9, 2024
1 parent 117c33c commit 4fa637e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/erc20/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sol_storage! {
}

#[external]
#[inherit(ERC20)]
#[inherit(ERC20, Metadata)]
impl Token {
pub fn constructor(&mut self, name: String, symbol: String) {
self.metadata.constructor(name, symbol);
Expand Down

0 comments on commit 4fa637e

Please sign in to comment.