Skip to content

Commit

Permalink
fix raising flag
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov authored and krebernisak committed Jan 14, 2022
1 parent fd9d901 commit 7efcfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/programs/store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub mod store {
};
let feed_address = ctx.accounts.feed.key();

if is_valid {
if !is_valid {
// raise flag if not raised yet

// if the len reaches array len, we're at capacity
Expand Down

0 comments on commit 7efcfaa

Please sign in to comment.