Skip to content

Commit

Permalink
Remove boolean as it is redundant; handlers use Option anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
the-frey committed Dec 10, 2021
1 parent 2d40b72 commit 89f3ea7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/cw2981-royalties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ pub struct Metadata {
pub background_color: Option<String>,
pub animation_url: Option<String>,
pub youtube_url: Option<String>,
/// specify whether royalties are set on this token
pub royalty_payments: bool,
/// This is how much the minter takes as a cut when sold
/// royalties are owed on this token if it is Some
pub royalty_percentage: Option<u64>,
/// The payment address, may be different to or the same
/// as the minter addr
Expand Down

0 comments on commit 89f3ea7

Please sign in to comment.