Skip to content

Commit

Permalink
Fix #119
Browse files Browse the repository at this point in the history
  • Loading branch information
vrde committed Sep 15, 2023
1 parent 6252876 commit d139cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/GovernanceToken/GovernanceToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ contract GovernanceToken is Initializable, HasRole, GovernanceTokenSnapshot {
DepositedTokens storage tokens = depositedTokens[from][i - 1];
if (block.timestamp >= tokens.settlementTimestamp) {
if (tokens.amount > 0) {
_mint(from, tokens.amount);
ERC20Upgradeable._mint(from, tokens.amount);
tokens.amount = 0;
} else {
break;
Expand Down

0 comments on commit d139cd8

Please sign in to comment.