Skip to content

Commit

Permalink
update debt limit (solana-labs#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
nope-finance authored Oct 21, 2022
1 parent 9b7da68 commit 3653b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions token-lending/program/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,8 +949,8 @@ fn process_refresh_obligation(program_id: &Pubkey, accounts: &[AccountInfo]) ->
obligation.deposited_value = deposited_value;
obligation.borrowed_value = borrowed_value;

let global_unhealthy_borrow_value = Decimal::from(50000000u64);
let global_allowed_borrow_value = Decimal::from(45000000u64);
let global_unhealthy_borrow_value = Decimal::from(70000000u64);
let global_allowed_borrow_value = Decimal::from(65000000u64);

obligation.allowed_borrow_value = min(allowed_borrow_value, global_allowed_borrow_value);
obligation.unhealthy_borrow_value = min(unhealthy_borrow_value, global_unhealthy_borrow_value);
Expand Down

0 comments on commit 3653b74

Please sign in to comment.