We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a306e08 commit 8d40e03Copy full SHA for 8d40e03
contracts/contracts/vault/VaultCore.sol
@@ -338,7 +338,7 @@ abstract contract VaultCore is VaultInitializer {
338
339
emit WithdrawalClaimed(msg.sender, requestId, request.amount);
340
341
- return request.amount.scaleBy(assetDecimals, 18);
+ return StableMath.scaleBy(request.amount, assetDecimals, 18);
342
}
343
344
function _postRedeem(uint256 _amount) internal {
0 commit comments