Skip to content

Commit

Permalink
fix access type
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan committed Jan 24, 2024
1 parent 5a1cf77 commit 44ea944
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/FungibleToken.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ access(all) contract interface FungibleToken: ViewResolver {
/// Event that is emitted when the global burn method is called with a non-zero balance
/// ****TODO**** Add Burner contract so that this event can be emitted
access(all) event Burned(type: String, amount: UFix64, fromUUID: UInt64)
acccess(self) view fun emitBurnedEvent(type: String, amount: UFix64, fromUUID: UInt64): Bool {
access(self) view fun emitBurnedEvent(type: String, amount: UFix64, fromUUID: UInt64): Bool {
if amount > 0.0 {
emit Burned(type: type, amount: amount, fromUUID: fromUUID)
}
Expand Down
Loading

0 comments on commit 44ea944

Please sign in to comment.