Skip to content

Commit

Permalink
updated comment in nft_core to let devs know what function is being c…
Browse files Browse the repository at this point in the history
…alled with nft_on_transfer on the other contract`
  • Loading branch information
doriancrutcher committed Oct 14, 2022
1 parent b659d26 commit 4f0d250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nft-contract/src/nft_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub trait NonFungibleTokenCore {
memo: Option<String>,
);

//transfers an NFT to a receiver and calls a function on the receiver ID's contract
/// Returns `true` if the token was transferred from the sender's account.
/// Transfers an NFT to a receiver and calls the
/// function `nft_on_transfer` on their contract.
fn nft_transfer_call(
&mut self,
receiver_id: AccountId,
Expand Down

0 comments on commit 4f0d250

Please sign in to comment.