We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba7d0f commit 7db2bc3Copy full SHA for 7db2bc3
contracts/Staking.sol
@@ -487,10 +487,11 @@ contract Staking is Governed {
487
);
488
489
// Close channel
490
+ // NOTE: Channels used are never deleted from state tracked in `channels` var
491
stake.unallocateTokens(subgraphID, alloc.tokens);
492
alloc.channelID = address(0);
493
alloc.createdAtEpoch = 0;
- delete channels[_channelID]; //TODO: send multisig one-shot invalidation
494
+ //TODO: send multisig one-shot invalidation
495
496
// Send curation fees to the curator subgraph reserve
497
if (curationFees > 0) {
0 commit comments