Skip to content

Commit

Permalink
Code423n4 #38, circuitBreaker override the state
Browse files Browse the repository at this point in the history
  • Loading branch information
Splidge committed Jun 16, 2021
1 parent ef95796 commit 84e0aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/RCMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1138,9 +1138,9 @@ contract RCMarket is Initializable, NativeMetaTransaction, IRCMarket {
block.timestamp > (uint256(oracleResolutionTime) + (12 weeks)),
"Too early"
);
_incrementState();
orderbook.closeMarket();
state = States.WITHDRAW;
orderbook.closeMarket();
emit LogStateChange(uint256(state));
}
/*
Expand Down

0 comments on commit 84e0aaa

Please sign in to comment.