diff --git a/src/end.sol b/src/end.sol index 14e17b19..3c312480 100644 --- a/src/end.sol +++ b/src/end.sol @@ -418,9 +418,8 @@ contract End { function thaw() external { require(live == 0, "End/still-live"); require(debt == 0, "End/debt-not-zero"); - require(vat.dai(address(vow)) == 0, "End/surplus-not-zero"); require(block.timestamp >= add(when, wait), "End/wait-not-finished"); - debt = sub(vat.debt(), cure.tell()); + debt = sub(vat.debt(), add(vat.dai(address(vow)), cure.tell())); emit Thaw(); } function flow(bytes32 ilk) external {