NSFW boost check comes after payment for onchain boosts
Summary
NSFW boost check comes in AFTER payment has been made for boost. This probably hasn't been flagged as an issue because boosting onchain is too expensive to be viable on mainnet.
Steps to reproduce
- Make NSFW post.
- Try to boost onchain.
- Observe payment modal pops up.
- After accepting, boost is rejected.
Platform information
Web
What is the current bug behavior?
Boost payment is taken for a boost that is invalid
What is the expected correct behavior?
Should check BEFORE the first call for the boost is made on the front-end, so no payment is taken.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
See expected correct behavior