Skip to content

Commit

Permalink
Merge pull request #264 from public-awesome/jhernandezb/non-payable-o…
Browse files Browse the repository at this point in the history
…n-no-fee

require no funds sent if no fee for renewal
  • Loading branch information
jhernandezb authored Oct 21, 2024
2 parents d91a67b + 058db52 commit 8f2b4d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/marketplace/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ pub fn execute_renew(
}
);
} else {
nonpayable(&info)?;
final_price = Uint128::zero();
}

Expand Down

0 comments on commit 8f2b4d8

Please sign in to comment.