Skip to content
Merged
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
2 changes: 1 addition & 1 deletion cadence/contracts/FlowALPModels.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ access(all) contract FlowALPModels {
effectiveDebt: {Type: UFix128}
) {
// Enforce single balance per token invariant: if a type appears in one map, it must not appear in the other.
for collateralType in effectiveCollateral.keys {
for collateralType in effectiveCollateral {
assert(effectiveDebt[collateralType] == nil, message: "cannot construct BalanceSheet: observed both credit and debit balance for \(collateralType.identifier)")
}

Expand Down
Loading