Skip to content

Commit

Permalink
Code423n4 #40, anyone can call sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
Splidge committed Jun 15, 2021
1 parent 78b8eef commit a234524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/RCMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ contract RCMarket is Initializable, NativeMetaTransaction, IRCMarket {
external
override
{
require(msgSender() == address(factory));
_sponsor(_sponsorAddress, _amount);
}

Expand Down

0 comments on commit a234524

Please sign in to comment.