Skip to content

Commit

Permalink
fix spelling to receiver (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan authored Jul 26, 2022
1 parent 32a318b commit a60765d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/MetadataViews.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@ pub contract MetadataViews {
/// that the owner might want to specify.
pub let description: String

init(recepient: Capability<&AnyResource{FungibleToken.Receiver}>, cut: UFix64, description: String) {
init(receiver: Capability<&AnyResource{FungibleToken.Receiver}>, cut: UFix64, description: String) {
pre {
cut >= 0.0 && cut <= 1.0 : "Cut value should be in valid range i.e [0,1]"
}
self.receiver = recepient
self.receiver = receiver
self.cut = cut
self.description = description
}
Expand Down
Loading

0 comments on commit a60765d

Please sign in to comment.