Skip to content

Commit

Permalink
Update examples/soroban/nft/src/nft.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Willem Wyndham <[email protected]>
  • Loading branch information
elizabethengelman and willemneal authored Jul 2, 2024
1 parent 5d2765a commit 9c8b0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/soroban/nft/src/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Default for MyNonFungibleToken {
}

impl IsInitable for MyNonFungibleToken {
fn nft_init(&mut self, admin: Address, name: Bytes) {
fn nft_init(&self, admin: Address, name: Bytes) {
Contract::admin_get().unwrap().require_auth();
MyNonFungibleToken::set_lazy(MyNonFungibleToken::new(admin, name));
}
Expand Down

0 comments on commit 9c8b0e8

Please sign in to comment.