Skip to content

Commit

Permalink
transferFrom => transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
mejango committed Jul 5, 2023
1 parent 2ee34dc commit 82a1d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/DefifaDeployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ contract DefifaDeployer is IDefifaDeployer, IDefifaGamePhaseReporter, IDefifaGam

// Transfer the amount of $DEFIFA tokens aquired to the delegate.
if (_defifaTokenBalance != 0) {
_defifaToken.transferFrom(address(this), _metadata.dataSource, _defifaToken.balanceOf(address(this)));
_defifaToken.transfer(_metadata.dataSource, _defifaToken.balanceOf(address(this)));
}

// Get a reference to any unclaimed base protocol tokens.
Expand All @@ -687,7 +687,7 @@ contract DefifaDeployer is IDefifaDeployer, IDefifaGamePhaseReporter, IDefifaGam

// Transfer the amount of $JBX tokens aquired to the delegate.
if (_baseProtocolBalance != 0) {
_baseProtocolToken.transferFrom(address(this), _metadata.dataSource, _baseProtocolBalance);
_baseProtocolToken.transfer(_metadata.dataSource, _baseProtocolBalance);
}

// Set the amount of fulfillments for this game.
Expand Down

0 comments on commit 82a1d60

Please sign in to comment.