Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion contracts/utility_contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8584,6 +8584,8 @@ impl UtilityContract {
/// Called internally by the provider when billing a post-paid stream.
/// Emits `CreditLimitApproached` at 80 % and slashes at 100 %.
pub fn accrue_postpaid_debt(env: Env, owner: Address, debt_amount: i128) {
pub fn accrue_postpaid_debt(env: Env, owner: Address, debt_amount: i128) {
owner.require_auth();
if debt_amount <= 0 {
return;
}
Expand Down Expand Up @@ -8770,4 +8772,4 @@ fn negate_g1(env: &Env, point: &Bytes) -> Bytes {
}

#[cfg(test)]
mod zk_tests;
mod zk_tests;