mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixes #69
This commit is contained in:
parent
81df469a3e
commit
97b014a429
|
@ -65,7 +65,7 @@ library ValidationLogic {
|
|||
GenericLogic.balanceDecreaseAllowed(
|
||||
reserveAddress,
|
||||
msg.sender,
|
||||
userBalance,
|
||||
amount,
|
||||
reservesData,
|
||||
userConfig,
|
||||
reserves,
|
||||
|
|
|
@ -342,6 +342,20 @@
|
|||
"expected": "success"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Users 1 tries to withdraw 0.05 WETH, which does not bring the HF below 1",
|
||||
"actions": [
|
||||
{
|
||||
"name": "withdraw",
|
||||
"args": {
|
||||
"reserve": "WETH",
|
||||
"amount": "0.05",
|
||||
"user": "1"
|
||||
},
|
||||
"expected": "success"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user