Skip to content

Commit 4f0d250

Browse files
updated comment in nft_core to let devs know what function is being called with nft_on_transfer on the other contract`
1 parent b659d26 commit 4f0d250

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nft-contract/src/nft_core.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub trait NonFungibleTokenCore {
1515
memo: Option<String>,
1616
);
1717

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

0 commit comments

Comments
 (0)