Skip to content

Commit 8d40e03

Browse files
committed
fix bug
1 parent a306e08 commit 8d40e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/contracts/vault/VaultCore.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ abstract contract VaultCore is VaultInitializer {
338338

339339
emit WithdrawalClaimed(msg.sender, requestId, request.amount);
340340

341-
return request.amount.scaleBy(assetDecimals, 18);
341+
return StableMath.scaleBy(request.amount, assetDecimals, 18);
342342
}
343343

344344
function _postRedeem(uint256 _amount) internal {

0 commit comments

Comments
 (0)