Skip to content

Commit

Permalink
Add missing function transfer (MystenLabs#5972)
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneAl authored Nov 11, 2022
1 parent e217dd9 commit 0c01fc6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ module tutorial::color_object {
object::delete(id);
}

public entry fun transfer(object: ColorObject, recipient: address) {
transfer::transfer(object, recipient)
}

// == Functions covered in Chapter 3 ==

public entry fun freeze_object(object: ColorObject) {
Expand Down

0 comments on commit 0c01fc6

Please sign in to comment.