Skip to content

Commit bfdeda4

Browse files
authored
Update my_token.move
1 parent a60018e commit bfdeda4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mytoken/sources/my_token.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module MyToken::coin {
2222
}
2323

2424
/// Transfer tokens
25-
public fun transfer(from: &mut Coin, amount: u64): Coin acquires Coin {
25+
public fun transfer(from: &mut Coin, amount: u64): Coin {
2626
assert!(from.value >= amount, error::invalid_argument(EINSUFFICIENT_BALANCE));
2727
from.value = from.value - amount;
2828
Coin { value: amount }

0 commit comments

Comments
 (0)