From 13891b255e71cd0a22bcc9fb1e5327e4b601cc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sojka?= Date: Mon, 17 Jun 2024 08:49:16 +0000 Subject: [PATCH] Fix minting of floating token --- src/staking.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/staking.cairo b/src/staking.cairo index 0cc45cd6..a60a8e7a 100644 --- a/src/staking.cairo +++ b/src/staking.cairo @@ -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 }); }