Skip to content

Commit

Permalink
Fix variable name in NftContract trait
Browse files Browse the repository at this point in the history
  • Loading branch information
kpob committed May 7, 2024
1 parent a777639 commit f561155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/src/cep78/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ trait NftContract {
fn mint(
&mut self,
token_owner: Address,
token_metadata: String,
token_meta_data: String,
token_hash: Maybe<String>
) -> (String, Address, String);
fn burn(&mut self, token_id: Maybe<u64>, token_hash: Maybe<String>);
Expand All @@ -147,8 +147,8 @@ trait NftContract {
&mut self,
token_id: Maybe<u64>,
token_hash: Maybe<String>,
source: Address,
target: Address
source_key: Address,
target_key: Address
) -> (String, Address);
fn approve(&mut self, spender: Address, token_id: Maybe<u64>, token_hash: Maybe<String>);
fn revoke(&mut self, token_id: Maybe<u64>, token_hash: Maybe<String>);
Expand Down

0 comments on commit f561155

Please sign in to comment.