Skip to content

Commit

Permalink
Update SuperTokenV1Library.sol:getGDANetFlowInfo (#1926)
Browse files Browse the repository at this point in the history
Remove a compiler warning of unused variable.
  • Loading branch information
hellwolf authored Apr 12, 2024
1 parent 73d0c7f commit b6ae680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ library SuperTokenV1Library {
function getGDANetFlowInfo(ISuperToken token, address account)
internal
view
returns (uint256 lastUpdated, int96 flowRate, uint256 deposit, uint256 owedDeposit)
returns (uint256 lastUpdated, int96 flowRate, uint256 deposit, uint256 /* owedDeposit unused */)
{
(, IGeneralDistributionAgreementV1 gda) = _getHostAndGDA(token);
(lastUpdated, flowRate, deposit) = gda.getAccountFlowInfo(token, account);
Expand Down

0 comments on commit b6ae680

Please sign in to comment.