Skip to content

Commit

Permalink
Fix minting of floating token
Browse files Browse the repository at this point in the history
  • Loading branch information
tensojka committed Jun 17, 2024
1 parent d92fca4 commit 13891b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staking.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ mod staking {
let floating_token = IERC20Dispatcher {
contract_address: self.floating_token_address.read()
};
floating_token.mint(caller, to_unstake.into());
floating_token.transfer(caller, to_unstake.into());
self.emit(UnstakedAirdrop { user: caller, amount: to_unstake });
}

Expand Down

0 comments on commit 13891b2

Please sign in to comment.