Skip to content

Commit c26e2fd

Browse files
abarmatdavekay100
authored andcommitted
staking: remove pausing from collect() to avoid reverts on state channels
1 parent 4bf1f28 commit c26e2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/staking/Staking.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ contract Staking is StakingV1Storage, GraphUpgradeable, IStaking {
760760
* Funds received are only accepted from a valid source.
761761
* @param _tokens Amount of tokens to collect
762762
*/
763-
function collect(uint256 _tokens, address _allocationID) external override notPaused {
763+
function collect(uint256 _tokens, address _allocationID) external override {
764764
// Allocation identifier validation
765765
require(_allocationID != address(0), "Invalid allocation");
766766

0 commit comments

Comments
 (0)